home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / AMUG Info / Apple Lic. / ResEdit 2.1.1 Examples.sit / ResEdit 2.1.1 Examples / CExamples / Source / ResEd.h < prev    next >
MacBinary  |  1991-07-10  |  20.1 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: ResEd.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Jul 10 13:00:00 1991, modified Wed Jul 10 13:00:00 1991, creator 'MPS ', type ASCII, 19904 bytes "ResEd.h" , at 0x4e40 478 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 52 65 73 45 64 2e | 68 00 00 00 00 00 00 00 |..ResEd.|h.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 4d c0 00 | 00 01 de a4 a0 ed 90 a4 |.....M..|........|
|00000060| a0 ed 90 00 00 0c 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3a 28 00 00 |........|....:(..|
|00000080| 2f 2a 0d 46 69 6c 65 20 | 52 65 73 45 64 2e 68 0d |/*.File |ResEd.h.|
|00000090| 0d 43 6f 70 79 72 69 67 | 68 74 20 41 70 70 6c 65 |.Copyrig|ht Apple|
|000000a0| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 20 | Compute|r, Inc. |
|000000b0| 31 39 38 34 2d 31 39 39 | 30 0d 41 6c 6c 20 72 69 |1984-199|0.All ri|
|000000c0| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0d 0d |ghts res|erved...|
|000000d0| 09 52 65 73 6f 75 72 63 | 65 20 65 64 69 74 6f 72 |.Resourc|e editor|
|000000e0| 20 69 6e 74 65 72 66 61 | 63 65 20 75 6e 69 74 20 | interfa|ce unit |
|000000f0| 66 6f 72 20 69 6e 73 74 | 61 6e 63 65 73 20 6f 66 |for inst|ances of|
|00000100| 20 65 64 69 74 6f 72 73 | 20 61 6e 64 20 70 69 63 | editors| and pic|
|00000110| 6b 65 72 73 2e 20 54 68 | 69 73 20 73 68 6f 75 6c |kers. Th|is shoul|
|00000120| 64 20 62 65 0d 09 69 6e | 63 6c 75 64 65 64 20 62 |d be..in|cluded b|
|00000130| 79 20 61 6e 79 20 43 20 | 69 6d 70 6c 65 6d 65 6e |y any C |implemen|
|00000140| 74 61 74 69 6f 6e 20 6f | 66 20 61 20 72 65 73 6f |tation o|f a reso|
|00000150| 75 72 63 65 20 65 64 69 | 74 6f 72 20 6f 72 20 70 |urce edi|tor or p|
|00000160| 69 63 6b 65 72 2e 20 20 | 54 68 65 0d 09 63 6f 6d |icker. |The..com|
|00000170| 70 61 6e 69 6f 6e 20 66 | 69 6c 65 20 52 65 73 44 |panion f|ile ResD|
|00000180| 69 73 70 2e 61 2e 6f 20 | 73 68 6f 75 6c 64 20 62 |isp.a.o |should b|
|00000190| 65 20 6c 69 6e 6b 65 64 | 20 77 69 74 68 20 74 68 |e linked| with th|
|000001a0| 65 20 63 20 6d 6f 64 75 | 6c 65 20 74 6f 20 62 75 |e c modu|le to bu|
|000001b0| 69 6c 64 0d 09 74 68 65 | 20 66 69 6c 65 20 66 6f |ild..the| file fo|
|000001c0| 72 20 69 6e 63 6c 75 73 | 69 6f 6e 20 69 6e 20 52 |r inclus|ion in R|
|000001d0| 65 73 45 64 69 74 2e 0d | 0d 09 50 69 63 6b 65 72 |esEdit..|..Picker|
|000001e0| 73 20 61 72 65 20 67 69 | 76 65 6e 20 61 20 72 65 |s are gi|ven a re|
|000001f0| 73 6f 75 72 63 65 20 74 | 79 70 65 20 61 6e 64 20 |source t|ype and |
|00000200| 73 68 6f 75 6c 64 20 64 | 69 73 70 6c 61 79 20 61 |should d|isplay a|
|00000210| 6c 6c 20 6f 66 20 74 68 | 61 74 20 74 79 70 65 20 |ll of th|at type |
|00000220| 69 6e 20 0d 09 74 68 65 | 20 63 75 72 72 65 6e 74 |in ..the| current|
|00000230| 20 72 65 73 66 69 6c 65 | 20 69 6e 20 61 20 73 75 | resfile| in a su|
|00000240| 69 74 61 62 6c 65 20 66 | 6f 72 6d 61 74 2e 09 20 |itable f|ormat.. |
|00000250| 49 66 20 74 68 65 20 70 | 69 63 6b 65 72 20 69 73 |If the p|icker is|
|00000260| 20 67 69 76 65 6e 20 61 | 6e 20 6f 70 65 6e 20 63 | given a|n open c|
|00000270| 61 6c 6c 20 0d 09 41 4e | 44 20 74 68 65 72 65 27 |all ..AN|D there'|
|00000280| 73 20 61 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 65 |s a comp|atible e|
|00000290| 64 69 74 6f 72 2c 20 69 | 74 20 73 68 6f 75 6c 64 |ditor, i|t should|
|000002a0| 20 67 69 76 65 20 62 69 | 72 74 68 20 74 6f 20 74 | give bi|rth to t|
|000002b0| 68 65 20 45 64 69 74 6f | 72 2e 20 20 54 68 65 20 |he Edito|r. The |
|000002c0| 65 64 69 74 6f 72 0d 09 | 69 73 20 67 69 76 65 6e |editor..|is given|
|000002d0| 20 61 20 68 61 6e 64 6c | 65 20 74 6f 20 74 68 65 | a handl|e to the|
|000002e0| 20 72 65 73 6f 75 72 63 | 65 20 6f 62 6a 65 63 74 | resourc|e object|
|000002f0| 20 61 6e 64 20 69 74 20 | 73 68 6f 75 6c 64 20 6f | and it |should o|
|00000300| 70 65 6e 20 75 70 20 61 | 6e 20 65 64 69 74 0d 09 |pen up a|n edit..|
|00000310| 77 69 6e 64 6f 77 20 66 | 6f 72 20 74 68 65 20 75 |window f|or the u|
|00000320| 73 65 72 2e 0d 0d 2a 2f | 0d 0d 23 69 6e 63 6c 75 |ser...*/|..#inclu|
|00000330| 64 65 09 3c 74 79 70 65 | 73 2e 68 3e 0d 23 69 6e |de.<type|s.h>.#in|
|00000340| 63 6c 75 64 65 09 3c 71 | 75 69 63 6b 64 72 61 77 |clude.<q|uickdraw|
|00000350| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 09 3c 6c 69 |.h>.#inc|lude.<li|
|00000360| 73 74 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 09 |sts.h>.#|include.|
|00000370| 3c 63 6f 6e 74 72 6f 6c | 73 2e 68 3e 0d 23 69 6e |<control|s.h>.#in|
|00000380| 63 6c 75 64 65 09 3c 77 | 69 6e 64 6f 77 73 2e 68 |clude.<w|indows.h|
|00000390| 3e 0d 23 69 6e 63 6c 75 | 64 65 09 3c 65 76 65 6e |>.#inclu|de.<even|
|000003a0| 74 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 09 3c |ts.h>.#i|nclude.<|
|000003b0| 64 69 61 6c 6f 67 73 2e | 68 3e 0d 23 69 6e 63 6c |dialogs.|h>.#incl|
|000003c0| 75 64 65 09 3c 70 72 69 | 6e 74 69 6e 67 2e 68 3e |ude.<pri|nting.h>|
|000003d0| 0d 0d 2f 2a 20 53 74 61 | 6e 64 61 72 64 20 6d 65 |../* Sta|ndard me|
|000003e0| 6e 75 73 20 65 78 70 6f | 72 74 65 64 20 62 79 20 |nus expo|rted by |
|000003f0| 52 65 73 45 64 69 74 20 | 2a 2f 0d 0d 23 64 65 66 |ResEdit |*/..#def|
|00000400| 69 6e 65 09 66 69 6c 65 | 4d 65 6e 75 09 09 20 32 |ine.file|Menu.. 2|
|00000410| 0d 0d 23 64 65 66 69 6e | 65 09 6e 65 77 46 69 6c |..#defin|e.newFil|
|00000420| 65 49 74 65 6d 20 20 20 | 20 20 31 0d 23 64 65 66 |eItem | 1.#def|
|00000430| 69 6e 65 09 6f 70 65 6e | 46 69 6c 65 49 74 65 6d |ine.open|FileItem|
|00000440| 09 32 0d 23 64 65 66 69 | 6e 65 09 6f 70 65 6e 53 |.2.#defi|ne.openS|
|00000450| 70 65 63 69 61 6c 49 74 | 65 6d 20 33 0d 23 64 65 |pecialIt|em 3.#de|
|00000460| 66 69 6e 65 09 63 6c 6f | 73 65 49 74 65 6d 20 20 |fine.clo|seItem |
|00000470| 20 09 34 0d 23 64 65 66 | 69 6e 65 09 73 61 76 65 | .4.#def|ine.save|
|00000480| 49 74 65 6d 20 09 09 35 | 0d 23 64 65 66 69 6e 65 |Item ..5|.#define|
|00000490| 09 72 65 76 65 72 74 49 | 74 65 6d 09 09 36 0d 23 |.revertI|tem..6.#|
|000004a0| 64 65 66 69 6e 65 09 67 | 65 74 54 68 69 73 49 6e |define.g|etThisIn|
|000004b0| 66 6f 49 74 65 6d 20 38 | 0d 23 64 65 66 69 6e 65 |foItem 8|.#define|
|000004c0| 09 67 65 74 49 6e 66 6f | 49 74 65 6d 20 09 39 0d |.getInfo|Item .9.|
|000004d0| 23 64 65 66 69 6e 65 09 | 76 65 72 69 66 79 49 74 |#define.|verifyIt|
|000004e0| 65 6d 20 09 09 31 30 0d | 23 64 65 66 69 6e 65 09 |em ..10.|#define.|
|000004f0| 70 61 67 65 53 65 74 75 | 70 49 74 65 6d 20 20 20 |pageSetu|pItem |
|00000500| 31 32 0d 23 64 65 66 69 | 6e 65 09 70 72 69 6e 74 |12.#defi|ne.print|
|00000510| 49 74 65 6d 20 20 20 20 | 09 31 33 0d 23 64 65 66 |Item |.13.#def|
|00000520| 69 6e 65 09 70 72 65 66 | 65 72 65 6e 63 65 73 49 |ine.pref|erencesI|
|00000530| 74 65 6d 09 31 35 0d 23 | 64 65 66 69 6e 65 09 71 |tem.15.#|define.q|
|00000540| 75 69 74 49 74 65 6d 20 | 20 20 20 09 31 37 0d 09 |uitItem | .17..|
|00000550| 0d 09 2f 2f 20 4d 61 73 | 6b 73 20 66 6f 72 20 41 |..// Mas|ks for A|
|00000560| 62 6c 65 4d 65 6e 75 20 | 2d 20 6e 6f 72 6d 61 6c |bleMenu |- normal|
|00000570| 6c 79 20 6e 6f 74 20 75 | 73 65 64 20 64 69 72 65 |ly not u|sed dire|
|00000580| 63 74 6c 79 2e 0d 23 64 | 65 66 69 6e 65 09 6e 65 |ctly..#d|efine.ne|
|00000590| 77 46 69 6c 65 4d 61 73 | 6b 09 09 30 78 32 0d 23 |wFileMas|k..0x2.#|
|000005a0| 64 65 66 69 6e 65 09 6f | 70 65 6e 46 69 6c 65 4d |define.o|penFileM|
|000005b0| 61 73 6b 09 30 78 34 0d | 23 64 65 66 69 6e 65 20 |ask.0x4.|#define |
|000005c0| 6f 70 65 6e 53 70 65 63 | 69 61 6c 4d 61 73 6b 09 |openSpec|ialMask.|
|000005d0| 30 78 38 0d 23 64 65 66 | 69 6e 65 09 63 6c 6f 73 |0x8.#def|ine.clos|
|000005e0| 65 4d 61 73 6b 09 09 30 | 78 31 30 0d 23 64 65 66 |eMask..0|x10.#def|
|000005f0| 69 6e 65 09 73 61 76 65 | 4d 61 73 6b 09 09 30 78 |ine.save|Mask..0x|
|00000600| 32 30 0d 23 64 65 66 69 | 6e 65 09 72 65 76 65 72 |20.#defi|ne.rever|
|00000610| 74 4d 61 73 6b 09 09 30 | 78 34 30 0d 23 64 65 66 |tMask..0|x40.#def|
|00000620| 69 6e 65 09 67 65 74 54 | 68 69 73 49 6e 66 6f 4d |ine.getT|hisInfoM|
|00000630| 61 73 6b 20 30 78 31 30 | 30 0d 23 64 65 66 69 6e |ask 0x10|0.#defin|
|00000640| 65 09 67 65 74 49 6e 66 | 6f 4d 61 73 6b 09 09 30 |e.getInf|oMask..0|
|00000650| 78 32 30 30 0d 23 64 65 | 66 69 6e 65 09 76 65 72 |x200.#de|fine.ver|
|00000660| 69 66 79 4d 61 73 6b 09 | 09 30 78 34 30 30 0d 23 |ifyMask.|.0x400.#|
|00000670| 64 65 66 69 6e 65 09 70 | 61 67 65 53 65 74 75 70 |define.p|ageSetup|
|00000680| 4d 61 73 6b 09 30 78 31 | 30 30 30 0d 23 64 65 66 |Mask.0x1|000.#def|
|00000690| 69 6e 65 09 70 72 69 6e | 74 4d 61 73 6b 09 09 30 |ine.prin|tMask..0|
|000006a0| 78 32 30 30 30 0d 23 64 | 65 66 69 6e 65 09 70 72 |x2000.#d|efine.pr|
|000006b0| 65 66 65 72 65 6e 63 65 | 73 4d 61 73 6b 20 30 78 |eference|sMask 0x|
|000006c0| 38 30 30 30 0d 23 64 65 | 66 69 6e 65 09 71 75 69 |8000.#de|fine.qui|
|000006d0| 74 4d 61 73 6b 09 09 30 | 78 32 30 30 30 30 0d 23 |tMask..0|x20000.#|
|000006e0| 64 65 66 69 6e 65 09 64 | 69 73 61 62 6c 65 64 4d |define.d|isabledM|
|000006f0| 61 73 6b 09 30 78 31 0d | 0d 09 2f 2f 20 4d 61 73 |ask.0x1.|..// Mas|
|00000700| 6b 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 73 20 74 |k combin|ations t|
|00000710| 6f 20 62 65 20 75 73 65 | 64 20 69 6e 20 63 61 6c |o be use|d in cal|
|00000720| 6c 73 20 74 6f 20 41 62 | 6c 65 4d 65 6e 75 2e 0d |ls to Ab|leMenu..|
|00000730| 23 64 65 66 69 6e 65 09 | 66 69 6c 65 4e 6f 74 4f |#define.|fileNotO|
|00000740| 70 65 6e 09 09 09 64 69 | 73 61 62 6c 65 64 4d 61 |pen...di|sabledMa|
|00000750| 73 6b 20 2b 20 6e 65 77 | 46 69 6c 65 4d 61 73 6b |sk + new|FileMask|
|00000760| 20 2b 20 6f 70 65 6e 46 | 69 6c 65 4d 61 73 6b 20 | + openF|ileMask |
|00000770| 2b 20 6f 70 65 6e 53 70 | 65 63 69 61 6c 4d 61 73 |+ openSp|ecialMas|
|00000780| 6b 20 2b 20 67 65 74 49 | 6e 66 6f 4d 61 73 6b 20 |k + getI|nfoMask |
|00000790| 2b 20 76 65 72 69 66 79 | 4d 61 73 6b 20 2b 20 70 |+ verify|Mask + p|
|000007a0| 61 67 65 53 65 74 75 70 | 4d 61 73 6b 20 2b 20 70 |ageSetup|Mask + p|
|000007b0| 72 65 66 65 72 65 6e 63 | 65 73 4d 61 73 6b 20 2b |referenc|esMask +|
|000007c0| 20 71 75 69 74 4d 61 73 | 6b 0d 23 64 65 66 69 6e | quitMas|k.#defin|
|000007d0| 65 09 66 69 6c 65 4e 6f | 50 72 69 6e 74 09 09 09 |e.fileNo|Print...|
|000007e0| 66 69 6c 65 4e 6f 74 4f | 70 65 6e 20 2b 20 67 65 |fileNotO|pen + ge|
|000007f0| 74 54 68 69 73 49 6e 66 | 6f 4d 61 73 6b 20 2b 20 |tThisInf|oMask + |
|00000800| 63 6c 6f 73 65 4d 61 73 | 6b 20 2b 20 73 61 76 65 |closeMas|k + save|
|00000810| 4d 61 73 6b 20 2b 20 72 | 65 76 65 72 74 4d 61 73 |Mask + r|evertMas|
|00000820| 6b 0d 23 64 65 66 69 6e | 65 09 66 69 6c 65 41 6c |k.#defin|e.fileAl|
|00000830| 6c 09 09 09 09 66 69 6c | 65 4e 6f 50 72 69 6e 74 |l....fil|eNoPrint|
|00000840| 20 2b 20 70 72 69 6e 74 | 4d 61 73 6b 0d 23 64 65 | + print|Mask.#de|
|00000850| 66 69 6e 65 09 66 69 6c | 65 4e 6f 53 61 76 65 4f |fine.fil|eNoSaveO|
|00000860| 72 52 65 76 65 72 74 20 | 09 66 69 6c 65 4e 6f 74 |rRevert |.fileNot|
|00000870| 4f 70 65 6e 20 2b 20 67 | 65 74 54 68 69 73 49 6e |Open + g|etThisIn|
|00000880| 66 6f 4d 61 73 6b 20 2b | 20 63 6c 6f 73 65 4d 61 |foMask +| closeMa|
|00000890| 73 6b 20 2b 20 70 72 69 | 6e 74 4d 61 73 6b 0d 23 |sk + pri|ntMask.#|
|000008a0| 64 65 66 69 6e 65 09 66 | 69 6c 65 44 41 09 09 09 |define.f|ileDA...|
|000008b0| 09 64 69 73 61 62 6c 65 | 64 4d 61 73 6b 20 2b 20 |.disable|dMask + |
|000008c0| 6f 70 65 6e 46 69 6c 65 | 4d 61 73 6b 20 2b 20 6e |openFile|Mask + n|
|000008d0| 65 77 46 69 6c 65 4d 61 | 73 6b 20 2b 20 6f 70 65 |ewFileMa|sk + ope|
|000008e0| 6e 53 70 65 63 69 61 6c | 4d 61 73 6b 20 2b 20 67 |nSpecial|Mask + g|
|000008f0| 65 74 49 6e 66 6f 4d 61 | 73 6b 20 2b 20 76 65 72 |etInfoMa|sk + ver|
|00000900| 69 66 79 4d 61 73 6b 20 | 2b 20 63 6c 6f 73 65 4d |ifyMask |+ closeM|
|00000910| 61 73 6b 20 2b 20 71 75 | 69 74 4d 61 73 6b 0d 0d |ask + qu|itMask..|
|00000920| 23 64 65 66 69 6e 65 09 | 72 73 72 63 4d 65 6e 75 |#define.|rsrcMenu|
|00000930| 20 20 20 20 09 09 09 31 | 32 38 0d 09 0d 23 64 65 | ...1|28...#de|
|00000940| 66 69 6e 65 09 72 73 72 | 63 43 72 65 61 74 65 49 |fine.rsr|cCreateI|
|00000950| 74 65 6d 09 09 09 31 0d | 23 64 65 66 69 6e 65 09 |tem...1.|#define.|
|00000960| 72 73 72 63 4f 70 65 6e | 49 74 65 6d 09 09 09 32 |rsrcOpen|Item...2|
|00000970| 0d 23 64 65 66 69 6e 65 | 09 72 73 72 63 4f 70 65 |.#define|.rsrcOpe|
|00000980| 6e 54 65 6d 70 6c 61 74 | 65 49 74 65 6d 09 33 0d |nTemplat|eItem.3.|
|00000990| 23 64 65 66 69 6e 65 09 | 72 73 72 63 4f 70 65 6e |#define.|rsrcOpen|
|000009a0| 48 65 78 49 74 65 6d 09 | 09 09 34 0d 23 64 65 66 |HexItem.|..4.#def|
|000009b0| 69 6e 65 09 72 73 72 63 | 52 65 76 65 72 74 49 74 |ine.rsrc|RevertIt|
|000009c0| 65 6d 09 09 09 36 0d 23 | 64 65 66 69 6e 65 09 72 |em...6.#|define.r|
|000009d0| 73 72 63 47 65 74 49 6e | 66 6f 49 74 65 6d 09 09 |srcGetIn|foItem..|
|000009e0| 09 38 0d 09 0d 23 64 65 | 66 69 6e 65 09 72 73 72 |.8...#de|fine.rsr|
|000009f0| 63 43 72 65 61 74 65 4d | 61 73 6b 09 09 09 30 78 |cCreateM|ask...0x|
|00000a00| 32 0d 23 64 65 66 69 6e | 65 09 72 73 72 63 4f 70 |2.#defin|e.rsrcOp|
|00000a10| 65 6e 4d 61 73 6b 09 09 | 09 30 78 34 0d 23 64 65 |enMask..|.0x4.#de|
|00000a20| 66 69 6e 65 09 72 73 72 | 63 4f 70 65 6e 54 65 6d |fine.rsr|cOpenTem|
|00000a30| 70 6c 61 74 65 4d 61 73 | 6b 09 30 78 38 0d 23 64 |plateMas|k.0x8.#d|
|00000a40| 65 66 69 6e 65 09 72 73 | 72 63 4f 70 65 6e 48 65 |efine.rs|rcOpenHe|
|00000a50| 78 4d 61 73 6b 09 09 09 | 30 78 31 30 0d 23 64 65 |xMask...|0x10.#de|
|00000a60| 66 69 6e 65 09 72 73 72 | 63 52 65 76 65 72 74 4d |fine.rsr|cRevertM|
|00000a70| 61 73 6b 09 09 09 30 78 | 34 30 0d 23 64 65 66 69 |ask...0x|40.#defi|
|00000a80| 6e 65 09 72 73 72 63 47 | 65 74 49 6e 66 6f 4d 61 |ne.rsrcG|etInfoMa|
|00000a90| 73 6b 09 09 09 30 78 31 | 30 30 0d 23 64 65 66 69 |sk...0x1|00.#defi|
|00000aa0| 6e 65 09 72 73 72 63 44 | 69 73 61 62 6c 65 64 4d |ne.rsrcD|isabledM|
|00000ab0| 61 73 6b 09 09 30 78 46 | 46 46 46 46 45 30 31 0d |ask..0xF|FFFFE01.|
|00000ac0| 09 0d 23 64 65 66 69 6e | 65 09 72 73 72 63 44 69 |..#defin|e.rsrcDi|
|00000ad0| 73 61 62 6c 65 64 09 09 | 09 30 78 46 46 46 46 46 |sabled..|.0xFFFFF|
|00000ae0| 45 30 30 0d 23 64 65 66 | 69 6e 65 09 72 73 72 63 |E00.#def|ine.rsrc|
|00000af0| 52 65 76 65 72 74 4f 6e | 6c 79 09 09 09 72 73 72 |RevertOn|ly...rsr|
|00000b00| 63 44 69 73 61 62 6c 65 | 64 4d 61 73 6b 20 2b 20 |cDisable|dMask + |
|00000b10| 72 73 72 63 52 65 76 65 | 72 74 4d 61 73 6b 0d 23 |rsrcReve|rtMask.#|
|00000b20| 64 65 66 69 6e 65 09 72 | 73 72 63 50 69 63 6b 65 |define.r|srcPicke|
|00000b30| 72 4e 6f 53 65 6c 09 09 | 09 72 73 72 63 44 69 73 |rNoSel..|.rsrcDis|
|00000b40| 61 62 6c 65 64 4d 61 73 | 6b 20 2b 20 72 73 72 63 |abledMas|k + rsrc|
|00000b50| 43 72 65 61 74 65 4d 61 | 73 6b 0d 23 64 65 66 69 |CreateMa|sk.#defi|
|00000b60| 6e 65 09 72 73 72 63 46 | 69 6c 65 50 69 63 6b 65 |ne.rsrcF|ilePicke|
|00000b70| 72 09 09 09 72 73 72 63 | 50 69 63 6b 65 72 4e 6f |r...rsrc|PickerNo|
|00000b80| 53 65 6c 20 2b 20 72 73 | 72 63 4f 70 65 6e 48 65 |Sel + rs|rcOpenHe|
|00000b90| 78 4d 61 73 6b 20 2b 20 | 72 73 72 63 52 65 76 65 |xMask + |rsrcReve|
|00000ba0| 72 74 4d 61 73 6b 20 2b | 20 72 73 72 63 4f 70 65 |rtMask +| rsrcOpe|
|00000bb0| 6e 4d 61 73 6b 0d 23 64 | 65 66 69 6e 65 09 72 73 |nMask.#d|efine.rs|
|00000bc0| 72 63 52 73 72 63 50 69 | 63 6b 65 72 09 09 09 72 |rcRsrcPi|cker...r|
|00000bd0| 73 72 63 46 69 6c 65 50 | 69 63 6b 65 72 20 2b 20 |srcFileP|icker + |
|00000be0| 72 73 72 63 4f 70 65 6e | 54 65 6d 70 6c 61 74 65 |rsrcOpen|Template|
|00000bf0| 4d 61 73 6b 20 2b 20 72 | 73 72 63 47 65 74 49 6e |Mask + r|srcGetIn|
|00000c00| 66 6f 4d 61 73 6b 0d 23 | 64 65 66 69 6e 65 09 72 |foMask.#|define.r|
|00000c10| 73 72 63 45 64 69 74 6f | 72 09 09 09 09 72 73 72 |srcEdito|r....rsr|
|00000c20| 63 44 69 73 61 62 6c 65 | 64 4d 61 73 6b 20 2b 20 |cDisable|dMask + |
|00000c30| 72 73 72 63 52 65 76 65 | 72 74 4d 61 73 6b 20 2b |rsrcReve|rtMask +|
|00000c40| 20 72 73 72 63 47 65 74 | 49 6e 66 6f 4d 61 73 6b | rsrcGet|InfoMask|
|00000c50| 0d 23 64 65 66 69 6e 65 | 09 72 73 72 63 45 64 69 |.#define|.rsrcEdi|
|00000c60| 74 6f 72 50 69 63 6b 65 | 72 09 09 72 73 72 63 45 |torPicke|r..rsrcE|
|00000c70| 64 69 74 6f 72 20 2b 20 | 72 73 72 63 4f 70 65 6e |ditor + |rsrcOpen|
|00000c80| 4d 61 73 6b 20 2b 20 72 | 73 72 63 4f 70 65 6e 54 |Mask + r|srcOpenT|
|00000c90| 65 6d 70 6c 61 74 65 4d | 61 73 6b 20 2b 20 72 73 |emplateM|ask + rs|
|00000ca0| 72 63 4f 70 65 6e 48 65 | 78 4d 61 73 6b 0d 23 64 |rcOpenHe|xMask.#d|
|00000cb0| 65 66 69 6e 65 09 72 73 | 72 63 44 49 54 4c 45 64 |efine.rs|rcDITLEd|
|00000cc0| 09 09 09 09 72 73 72 63 | 45 64 69 74 6f 72 50 69 |....rsrc|EditorPi|
|00000cd0| 63 6b 65 72 20 2d 20 72 | 73 72 63 4f 70 65 6e 48 |cker - r|srcOpenH|
|00000ce0| 65 78 4d 61 73 6b 20 2b | 20 72 73 72 63 43 72 65 |exMask +| rsrcCre|
|00000cf0| 61 74 65 4d 61 73 6b 0d | 23 64 65 66 69 6e 65 09 |ateMask.|#define.|
|00000d00| 72 73 72 63 45 64 69 74 | 6f 72 43 72 65 61 74 65 |rsrcEdit|orCreate|
|00000d10| 09 09 72 73 72 63 45 64 | 69 74 6f 72 20 2b 20 72 |..rsrcEd|itor + r|
|00000d20| 73 72 63 43 72 65 61 74 | 65 4d 61 73 6b 0d 0d 23 |srcCreat|eMask..#|
|00000d30| 64 65 66 69 6e 65 09 65 | 64 69 74 4d 65 6e 75 09 |define.e|ditMenu.|
|00000d40| 09 09 33 0d 0d 23 64 65 | 66 69 6e 65 09 75 6e 64 |..3..#de|fine.und|
|00000d50| 6f 49 74 65 6d 09 09 09 | 31 0d 23 64 65 66 69 6e |oItem...|1.#defin|
|00000d60| 65 09 63 75 74 49 74 65 | 6d 20 09 09 09 33 0d 23 |e.cutIte|m ...3.#|
|00000d70| 64 65 66 69 6e 65 09 63 | 6f 70 79 49 74 65 6d 09 |define.c|opyItem.|
|00000d80| 09 09 34 0d 23 64 65 66 | 69 6e 65 09 70 61 73 74 |..4.#def|ine.past|
|00000d90| 65 49 74 65 6d 09 09 09 | 35 0d 23 64 65 66 69 6e |eItem...|5.#defin|
|00000da0| 65 09 63 6c 65 61 72 49 | 74 65 6d 09 09 09 36 0d |e.clearI|tem...6.|
|00000db0| 23 64 65 66 69 6e 65 09 | 64 75 70 49 74 65 6d 20 |#define.|dupItem |
|00000dc0| 09 09 09 38 0d 23 64 65 | 66 69 6e 65 20 73 65 6c |...8.#de|fine sel|
|00000dd0| 65 63 74 41 6c 6c 49 74 | 65 6d 09 09 39 0d 23 64 |ectAllIt|em..9.#d|
|00000de0| 65 66 69 6e 65 20 73 65 | 6c 65 63 74 43 68 61 6e |efine se|lectChan|
|00000df0| 67 65 64 49 74 65 6d 09 | 31 30 0d 0d 2f 2a 20 4d |gedItem.|10../* M|
|00000e00| 61 73 6b 73 20 66 6f 72 | 20 41 62 6c 65 4d 65 6e |asks for| AbleMen|
|00000e10| 75 20 2d 20 6e 6f 72 6d | 61 6c 6c 79 20 6e 6f 74 |u - norm|ally not|
|00000e20| 20 75 73 65 64 20 64 69 | 72 65 63 74 6c 79 2e 20 | used di|rectly. |
|00000e30| 2a 2f 0d 23 64 65 66 69 | 6e 65 20 75 6e 64 6f 4d |*/.#defi|ne undoM|
|00000e40| 61 73 6b 09 09 09 30 78 | 32 0d 23 64 65 66 69 6e |ask...0x|2.#defin|
|00000e50| 65 20 63 75 74 4d 61 73 | 6b 09 09 09 09 30 78 38 |e cutMas|k....0x8|
|00000e60| 0d 23 64 65 66 69 6e 65 | 20 65 64 69 74 43 6f 70 |.#define| editCop|
|00000e70| 79 4d 61 73 6b 09 09 30 | 78 31 30 0d 23 64 65 66 |yMask..0|x10.#def|
|00000e80| 69 6e 65 20 70 61 73 74 | 65 4d 61 73 6b 09 09 09 |ine past|eMask...|
|00000e90| 30 78 32 30 0d 23 64 65 | 66 69 6e 65 20 63 6c 65 |0x20.#de|fine cle|
|00000ea0| 61 72 4d 61 73 6b 09 09 | 09 30 78 34 30 0d 23 64 |arMask..|.0x40.#d|
|00000eb0| 65 66 69 6e 65 20 64 75 | 70 6c 69 63 61 74 65 4d |efine du|plicateM|
|00000ec0| 61 73 6b 09 09 30 78 31 | 30 30 0d 23 64 65 66 69 |ask..0x1|00.#defi|
|00000ed0| 6e 65 20 73 65 6c 65 63 | 74 41 6c 6c 4d 61 73 6b |ne selec|tAllMask|
|00000ee0| 09 09 30 78 32 30 30 0d | 23 64 65 66 69 6e 65 20 |..0x200.|#define |
|00000ef0| 73 65 6c 65 63 74 43 68 | 61 6e 67 65 64 4d 61 73 |selectCh|angedMas|
|00000f00| 6b 09 30 78 34 30 30 0d | 23 64 65 66 69 6e 65 20 |k.0x400.|#define |
|00000f10| 65 64 69 74 44 69 73 61 | 62 6c 65 64 4d 61 73 6b |editDisa|bledMask|
|00000f20| 20 09 30 78 46 46 46 46 | 46 38 30 31 0d 0d 2f 2a | .0xFFFF|F801../*|
|00000f30| 20 4d 61 73 6b 20 63 6f | 6d 62 69 6e 61 74 69 6f | Mask co|mbinatio|
|00000f40| 6e 73 20 74 6f 20 62 65 | 20 75 73 65 64 20 69 6e |ns to be| used in|
|00000f50| 20 63 61 6c 6c 73 20 74 | 6f 20 41 62 6c 65 4d 65 | calls t|o AbleMe|
|00000f60| 6e 75 2e 20 2a 2f 0d 23 | 64 65 66 69 6e 65 20 65 |nu. */.#|define e|
|00000f70| 64 69 74 4e 6f 6e 65 09 | 09 09 65 64 69 74 44 69 |ditNone.|..editDi|
|00000f80| 73 61 62 6c 65 64 4d 61 | 73 6b 20 2d 20 31 0d 23 |sabledMa|sk - 1.#|
|00000f90| 64 65 66 69 6e 65 20 65 | 64 69 74 43 6c 65 61 72 |define e|ditClear|
|00000fa0| 09 09 09 65 64 69 74 44 | 69 73 61 62 6c 65 64 4d |...editD|isabledM|
|00000fb0| 61 73 6b 20 2b 20 63 6c | 65 61 72 4d 61 73 6b 0d |ask + cl|earMask.|
|00000fc0| 23 64 65 66 69 6e 65 20 | 65 64 69 74 43 6f 70 79 |#define |editCopy|
|00000fd0| 09 09 09 65 64 69 74 44 | 69 73 61 62 6c 65 64 4d |...editD|isabledM|
|00000fe0| 61 73 6b 20 2b 20 65 64 | 69 74 43 6f 70 79 4d 61 |ask + ed|itCopyMa|
|00000ff0| 73 6b 0d 23 64 65 66 69 | 6e 65 20 65 64 69 74 50 |sk.#defi|ne editP|
|00001000| 61 73 74 65 09 09 09 65 | 64 69 74 44 69 73 61 62 |aste...e|ditDisab|
|00001010| 6c 65 64 4d 61 73 6b 20 | 2b 20 70 61 73 74 65 4d |ledMask |+ pasteM|
|00001020| 61 73 6b 0d 23 64 65 66 | 69 6e 65 20 65 64 69 74 |ask.#def|ine edit|
|00001030| 55 6e 64 6f 50 61 73 74 | 65 4f 6e 6c 79 09 65 64 |UndoPast|eOnly.ed|
|00001040| 69 74 50 61 73 74 65 20 | 2b 20 75 6e 64 6f 4d 61 |itPaste |+ undoMa|
|00001050| 73 6b 0d 23 64 65 66 69 | 6e 65 20 65 64 69 74 44 |sk.#defi|ne editD|
|00001060| 75 70 09 09 09 09 65 64 | 69 74 43 6c 65 61 72 20 |up....ed|itClear |
|00001070| 2b 20 64 75 70 6c 69 63 | 61 74 65 4d 61 73 6b 0d |+ duplic|ateMask.|
|00001080| 23 64 65 66 69 6e 65 20 | 65 64 69 74 4e 6f 44 75 |#define |editNoDu|
|00001090| 70 09 09 09 65 64 69 74 | 44 69 73 61 62 6c 65 64 |p...edit|Disabled|
|000010a0| 4d 61 73 6b 20 2b 20 63 | 75 74 4d 61 73 6b 20 2b |Mask + c|utMask +|
|000010b0| 20 65 64 69 74 43 6f 70 | 79 4d 61 73 6b 20 2b 20 | editCop|yMask + |
|000010c0| 70 61 73 74 65 4d 61 73 | 6b 20 2b 20 63 6c 65 61 |pasteMas|k + clea|
|000010d0| 72 4d 61 73 6b 20 2f 2a | 20 4e 6f 20 64 75 70 20 |rMask /*| No dup |
|000010e0| 6f 72 20 75 6e 64 6f 20 | 2a 2f 0d 23 64 65 66 69 |or undo |*/.#defi|
|000010f0| 6e 65 20 65 64 69 74 4e | 6f 55 6e 64 6f 09 09 09 |ne editN|oUndo...|
|00001100| 65 64 69 74 4e 6f 44 75 | 70 20 2b 20 64 75 70 6c |editNoDu|p + dupl|
|00001110| 69 63 61 74 65 4d 61 73 | 6b 0d 23 64 65 66 69 6e |icateMas|k.#defin|
|00001120| 65 20 65 64 69 74 55 6e | 64 4e 6f 44 75 70 09 09 |e editUn|dNoDup..|
|00001130| 65 64 69 74 4e 6f 44 75 | 70 20 2b 20 75 6e 64 6f |editNoDu|p + undo|
|00001140| 4d 61 73 6b 0d 23 64 65 | 66 69 6e 65 20 65 64 69 |Mask.#de|fine edi|
|00001150| 74 41 6c 6c 09 09 09 09 | 65 64 69 74 4e 6f 55 6e |tAll....|editNoUn|
|00001160| 64 6f 20 2b 20 75 6e 64 | 6f 4d 61 73 6b 0d 23 64 |do + und|oMask.#d|
|00001170| 65 66 69 6e 65 20 65 64 | 69 74 41 63 63 20 09 09 |efine ed|itAcc ..|
|00001180| 09 65 64 69 74 55 6e 64 | 4e 6f 44 75 70 09 09 09 |.editUnd|NoDup...|
|00001190| 2f 2a 20 66 6f 72 20 44 | 41 73 20 2a 2f 0d 0d 23 |/* for D|As */..#|
|000011a0| 64 65 66 69 6e 65 20 76 | 69 65 77 4d 65 6e 75 20 |define v|iewMenu |
|000011b0| 31 33 30 09 09 09 2f 2a | 20 54 79 70 65 20 70 69 |130.../*| Type pi|
|000011c0| 63 6b 65 72 73 20 76 69 | 65 77 20 6d 65 6e 75 2e |ckers vi|ew menu.|
|000011d0| 20 2a 2f 0d 09 0d 23 64 | 65 66 69 6e 65 20 76 69 | */...#d|efine vi|
|000011e0| 65 77 42 79 49 44 49 74 | 65 6d 09 09 09 31 0d 23 |ewByIDIt|em...1.#|
|000011f0| 64 65 66 69 6e 65 20 76 | 69 65 77 42 79 4e 61 6d |define v|iewByNam|
|00001200| 65 49 74 65 6d 09 09 09 | 32 0d 23 64 65 66 69 6e |eItem...|2.#defin|
|00001210| 65 20 76 69 65 77 42 79 | 53 69 7a 65 49 74 65 6d |e viewBy|SizeItem|
|00001220| 09 09 09 33 0d 23 64 65 | 66 69 6e 65 20 76 69 65 |...3.#de|fine vie|
|00001230| 77 42 79 4f 72 64 65 72 | 49 74 65 6d 09 09 09 34 |wByOrder|Item...4|
|00001240| 0d 23 64 65 66 69 6e 65 | 20 76 69 65 77 42 79 53 |.#define| viewByS|
|00001250| 70 65 63 69 61 6c 49 74 | 65 6d 09 09 35 0d 23 64 |pecialIt|em..5.#d|
|00001260| 65 66 69 6e 65 20 76 69 | 65 77 53 68 6f 77 41 74 |efine vi|ewShowAt|
|00001270| 74 72 69 62 75 74 65 73 | 49 74 65 6d 09 37 0d 09 |tributes|Item.7..|
|00001280| 0d 2f 2a 20 4d 61 73 6b | 73 20 66 6f 72 20 41 62 |./* Mask|s for Ab|
|00001290| 6c 65 4d 65 6e 75 2e 20 | 2a 2f 0d 23 64 65 66 69 |leMenu. |*/.#defi|
|000012a0| 6e 65 20 76 69 65 77 42 | 79 49 44 4d 61 73 6b 09 |ne viewB|yIDMask.|
|000012b0| 09 09 30 78 32 0d 23 64 | 65 66 69 6e 65 20 76 69 |..0x2.#d|efine vi|
|000012c0| 65 77 42 79 4e 61 6d 65 | 4d 61 73 6b 09 09 09 30 |ewByName|Mask...0|
|000012d0| 78 34 0d 23 64 65 66 69 | 6e 65 20 76 69 65 77 42 |x4.#defi|ne viewB|
|000012e0| 79 53 69 7a 65 4d 61 73 | 6b 09 09 09 30 78 38 0d |ySizeMas|k...0x8.|
|000012f0| 23 64 65 66 69 6e 65 20 | 76 69 65 77 42 79 4f 72 |#define |viewByOr|
|00001300| 64 65 72 4d 61 73 6b 09 | 09 09 30 78 31 30 0d 23 |derMask.|..0x10.#|
|00001310| 64 65 66 69 6e 65 20 76 | 69 65 77 42 79 53 70 65 |define v|iewBySpe|
|00001320| 63 69 61 6c 4d 61 73 6b | 09 09 30 78 32 30 0d 23 |cialMask|..0x20.#|
|00001330| 64 65 66 69 6e 65 20 76 | 69 65 77 53 68 6f 77 41 |define v|iewShowA|
|00001340| 74 74 72 69 62 75 74 65 | 73 4d 61 73 6b 09 30 78 |ttribute|sMask.0x|
|00001350| 34 30 0d 23 64 65 66 69 | 6e 65 20 76 69 65 77 44 |40.#defi|ne viewD|
|00001360| 69 73 61 62 6c 65 64 4d | 61 73 6b 09 09 30 78 46 |isabledM|ask..0xF|
|00001370| 46 46 46 46 46 38 31 0d | 09 0d 23 64 65 66 69 6e |FFFFF81.|..#defin|
|00001380| 65 20 76 69 65 77 4e 6f | 53 70 65 63 69 61 6c 09 |e viewNo|Special.|
|00001390| 09 09 76 69 65 77 44 69 | 73 61 62 6c 65 64 4d 61 |..viewDi|sabledMa|
|000013a0| 73 6b 20 2b 20 76 69 65 | 77 42 79 49 44 4d 61 73 |sk + vie|wByIDMas|
|000013b0| 6b 20 2b 20 76 69 65 77 | 42 79 4e 61 6d 65 4d 61 |k + view|ByNameMa|
|000013c0| 73 6b 20 2b 20 76 69 65 | 77 42 79 53 69 7a 65 4d |sk + vie|wBySizeM|
|000013d0| 61 73 6b 20 2b 20 76 69 | 65 77 42 79 4f 72 64 65 |ask + vi|ewByOrde|
|000013e0| 72 4d 61 73 6b 0d 23 64 | 65 66 69 6e 65 20 76 69 |rMask.#d|efine vi|
|000013f0| 65 77 4e 6f 41 74 74 72 | 69 62 75 74 65 73 09 09 |ewNoAttr|ibutes..|
|00001400| 76 69 65 77 4e 6f 53 70 | 65 63 69 61 6c 20 2b 20 |viewNoSp|ecial + |
|00001410| 76 69 65 77 42 79 53 70 | 65 63 69 61 6c 4d 61 73 |viewBySp|ecialMas|
|00001420| 6b 0d 23 64 65 66 69 6e | 65 20 76 69 65 77 41 6c |k.#defin|e viewAl|
|00001430| 6c 09 09 09 09 09 76 69 | 65 77 4e 6f 41 74 74 72 |l.....vi|ewNoAttr|
|00001440| 69 62 75 74 65 73 20 2b | 20 76 69 65 77 53 68 6f |ibutes +| viewSho|
|00001450| 77 41 74 74 72 69 62 75 | 74 65 73 4d 61 73 6b 0d |wAttribu|tesMask.|
|00001460| 0d 23 64 65 66 69 6e 65 | 20 66 6f 6e 74 4d 65 6e |.#define| fontMen|
|00001470| 75 09 09 09 09 31 34 34 | 09 2f 2a 20 46 6f 6e 74 |u....144|./* Font|
|00001480| 20 6d 65 6e 75 20 77 69 | 74 68 20 6d 65 6e 75 73 | menu wi|th menus|
|00001490| 20 61 6c 72 65 61 64 79 | 20 61 64 64 65 64 2e 20 | already| added. |
|000014a0| 2a 2f 0d 0d 23 64 65 66 | 69 6e 65 20 6d 69 73 63 |*/..#def|ine misc|
|000014b0| 53 74 72 69 6e 67 73 09 | 09 09 31 32 39 09 09 2f |Strings.|..129../|
|000014c0| 2a 20 52 65 73 6f 75 72 | 63 65 20 49 44 20 6f 66 |* Resour|ce ID of|
|000014d0| 20 53 54 52 23 20 72 65 | 73 6f 75 72 63 65 20 63 | STR# re|source c|
|000014e0| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 65 20 73 74 |ontainin|g the st|
|000014f0| 72 69 6e 67 73 2e 20 2a | 2f 0d 23 64 65 66 69 6e |rings. *|/.#defin|
|00001500| 65 20 6d 69 73 63 53 74 | 72 69 6e 67 73 4e 61 6d |e miscSt|ringsNam|
|00001510| 65 20 09 22 5c 70 4d 69 | 73 63 22 0d 23 64 65 66 |e ."\pMi|sc".#def|
|00001520| 69 6e 65 20 63 61 6e 74 | 4c 6f 61 64 53 6e 64 45 |ine cant|LoadSndE|
|00001530| 72 72 53 74 72 09 32 34 | 09 09 2f 2a 20 53 6e 64 |rrStr.24|../* Snd|
|00001540| 20 70 69 63 6b 65 72 20 | 65 72 72 6f 72 2e 20 2a | picker |error. *|
|00001550| 2f 0d 23 64 65 66 69 6e | 65 09 73 79 73 53 74 72 |/.#defin|e.sysStr|
|00001560| 20 09 09 09 09 34 35 09 | 09 2f 2a 20 27 53 79 73 | ....45.|./* 'Sys|
|00001570| 27 2c 20 65 74 63 2e 20 | 75 73 65 64 20 62 79 20 |', etc. |used by |
|00001580| 4c 44 45 46 2e 20 2a 2f | 0d 0d 2f 2a 20 54 65 78 |LDEF. */|../* Tex|
|00001590| 74 20 66 6f 72 20 73 65 | 6c 65 63 74 65 64 20 65 |t for se|lected e|
|000015a0| 72 72 6f 72 73 20 2a 2f | 0d 23 64 65 66 69 6e 65 |rrors */|.#define|
|000015b0| 20 65 72 72 6f 72 53 74 | 72 69 6e 67 73 09 09 31 | errorSt|rings..1|
|000015c0| 33 32 09 09 2f 2a 20 52 | 65 73 6f 75 72 63 65 20 |32../* R|esource |
|000015d0| 49 44 20 6f 66 20 53 54 | 52 23 20 72 65 73 6f 75 |ID of ST|R# resou|
|000015e0| 72 63 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |rce cont|aining t|
|000015f0| 68 65 20 65 72 72 6f 72 | 20 73 74 72 69 6e 67 73 |he error| strings|
|00001600| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 65 72 72 6f | */.#def|ine erro|
|00001610| 72 53 74 72 69 6e 67 73 | 4e 61 6d 65 20 22 5c 70 |rStrings|Name "\p|
|00001620| 45 72 72 6f 72 73 22 0d | 23 64 65 66 69 6e 65 20 |Errors".|#define |
|00001630| 67 65 6e 65 72 69 63 45 | 72 72 53 74 72 09 09 09 |genericE|rrStr...|
|00001640| 31 09 2f 2a 20 52 65 74 | 75 72 6e 65 64 20 62 79 |1./* Ret|urned by|
|00001650| 20 47 65 74 45 72 72 6f | 72 54 65 78 74 20 77 68 | GetErro|rText wh|
|00001660| 65 6e 20 6e 6f 20 73 70 | 65 63 69 66 69 63 20 6d |en no sp|ecific m|
|00001670| 65 73 73 61 67 65 20 61 | 76 61 69 6c 61 62 6c 65 |essage a|vailable|
|00001680| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 69 6f 45 72 | */.#def|ine ioEr|
|00001690| 72 53 74 72 09 09 09 09 | 31 0d 23 64 65 66 69 6e |rStr....|1.#defin|
|000016a0| 65 20 77 72 69 74 65 50 | 72 6f 74 65 63 74 45 72 |e writeP|rotectEr|
|000016b0| 72 53 74 72 09 09 32 0d | 23 64 65 66 69 6e 65 20 |rStr..2.|#define |
|000016c0| 64 69 73 6b 46 75 6c 6c | 45 72 72 53 74 72 09 09 |diskFull|ErrStr..|
|000016d0| 09 33 0d 23 64 65 66 69 | 6e 65 20 66 69 6c 65 4c |.3.#defi|ne fileL|
|000016e0| 6f 63 6b 65 64 45 72 72 | 53 74 72 09 09 34 0d 23 |ockedErr|Str..4.#|
|000016f0| 64 65 66 69 6e 65 20 6f | 75 74 4f 66 4d 65 6d 6f |define o|utOfMemo|
|00001700| 72 79 45 72 72 53 74 72 | 09 09 35 0d 23 64 65 66 |ryErrStr|..5.#def|
|00001710| 69 6e 65 20 61 6c 72 65 | 61 64 79 4f 70 65 6e 45 |ine alre|adyOpenE|
|00001720| 72 72 53 74 72 09 09 36 | 0d 23 64 65 66 69 6e 65 |rrStr..6|.#define|
|00001730| 20 74 6f 6f 4d 61 6e 79 | 4f 70 65 6e 45 72 72 53 | tooMany|OpenErrS|
|00001740| 74 72 09 09 37 0d 23 64 | 65 66 69 6e 65 20 76 6f |tr..7.#d|efine vo|
|00001750| 6c 4e 6f 74 4d 6f 75 6e | 74 65 64 45 72 72 53 74 |lNotMoun|tedErrSt|
|00001760| 72 09 09 38 0d 23 64 65 | 66 69 6e 65 20 72 65 73 |r..8.#de|fine res|
|00001770| 4e 6f 74 46 6f 75 6e 64 | 45 72 72 53 74 72 09 09 |NotFound|ErrStr..|
|00001780| 39 0d 23 64 65 66 69 6e | 65 20 61 63 63 65 73 73 |9.#defin|e access|
|00001790| 45 72 72 53 74 72 09 09 | 09 31 30 0d 23 64 65 66 |ErrStr..|.10.#def|
|000017a0| 69 6e 65 20 72 65 73 46 | 69 6c 65 4e 6f 74 46 6f |ine resF|ileNotFo|
|000017b0| 75 6e 64 45 72 72 53 74 | 72 09 31 31 0d 23 64 65 |undErrSt|r.11.#de|
|000017c0| 66 69 6e 65 20 61 64 64 | 52 65 73 46 61 69 6c 45 |fine add|ResFailE|
|000017d0| 72 72 53 74 72 09 09 31 | 32 0d 23 64 65 66 69 6e |rrStr..1|2.#defin|
|000017e0| 65 20 72 65 6d 6f 76 65 | 52 65 73 46 61 69 6c 45 |e remove|ResFailE|
|000017f0| 72 72 53 74 72 09 09 31 | 33 0d 23 64 65 66 69 6e |rrStr..1|3.#defin|
|00001800| 65 20 72 65 73 41 74 74 | 72 69 62 75 74 65 73 45 |e resAtt|ributesE|
|00001810| 72 72 53 74 72 09 09 31 | 34 0d 23 64 65 66 69 6e |rrStr..1|4.#defin|
|00001820| 65 20 72 65 73 4d 61 70 | 45 72 72 53 74 72 09 09 |e resMap|ErrStr..|
|00001830| 09 31 35 09 0d 23 64 65 | 66 69 6e 65 20 66 69 6c |.15..#de|fine fil|
|00001840| 65 4e 6f 74 46 6f 75 6e | 64 45 72 72 53 74 72 09 |eNotFoun|dErrStr.|
|00001850| 09 31 36 0d 23 64 65 66 | 69 6e 65 20 65 6f 66 45 |.16.#def|ine eofE|
|00001860| 72 72 53 74 72 09 09 09 | 09 31 37 0d 23 64 65 66 |rrStr...|.17.#def|
|00001870| 69 6e 65 20 66 69 6c 65 | 42 75 73 79 53 74 72 09 |ine file|BusyStr.|
|00001880| 09 09 09 31 38 0d 23 64 | 65 66 69 6e 65 20 63 61 |...18.#d|efine ca|
|00001890| 6e 74 44 65 63 6f 6d 70 | 72 65 73 73 53 74 72 09 |ntDecomp|ressStr.|
|000018a0| 09 31 39 0d 0d 23 64 65 | 66 69 6e 65 20 61 72 72 |.19..#de|fine arr|
|000018b0| 6f 77 43 75 72 73 6f 72 | 20 2d 31 09 2f 2a 20 55 |owCursor| -1./* U|
|000018c0| 73 65 64 20 69 6e 20 74 | 68 65 20 63 61 6c 6c 20 |sed in t|he call |
|000018d0| 74 6f 20 53 65 74 54 68 | 65 43 75 72 73 6f 72 20 |to SetTh|eCursor |
|000018e0| 74 6f 20 73 65 74 20 74 | 68 65 20 61 72 72 6f 77 |to set t|he arrow|
|000018f0| 20 63 75 72 73 6f 72 2e | 20 2a 2f 0d 0d 23 64 65 | cursor.| */..#de|
|00001900| 66 69 6e 65 20 74 68 65 | 53 63 72 6f 6c 6c 42 61 |fine the|ScrollBa|
|00001910| 72 20 31 35 09 09 09 09 | 09 2f 2a 20 57 69 64 74 |r 15....|./* Widt|
|00001920| 68 20 6f 66 20 61 20 73 | 63 72 6f 6c 6c 20 62 61 |h of a s|croll ba|
|00001930| 72 2e 20 2a 2f 0d 0d 23 | 64 65 66 69 6e 65 20 6f |r. */..#|define o|
|00001940| 6b 43 68 6f 69 63 65 20 | 31 09 09 09 09 09 09 2f |kChoice |1....../|
|00001950| 2a 20 55 73 65 64 20 66 | 6f 72 20 74 68 65 20 4f |* Used f|or the O|
|00001960| 4b 20 62 75 74 74 6f 6e | 20 69 6e 20 64 69 61 6c |K button| in dial|
|00001970| 6f 67 73 2e 20 2a 2f 0d | 09 0d 23 64 65 66 69 6e |ogs. */.|..#defin|
|00001980| 65 20 6e 6f 44 69 61 6c | 6f 67 20 30 09 09 09 09 |e noDial|og 0....|
|00001990| 09 09 2f 2a 20 55 73 65 | 64 20 77 69 74 68 20 45 |../* Use|d with E|
|000019a0| 64 69 74 6f 72 57 69 6e | 64 53 65 74 75 70 2e 20 |ditorWin|dSetup. |
|000019b0| 2a 2f 0d 23 64 65 66 69 | 6e 65 20 6e 6f 53 63 72 |*/.#defi|ne noScr|
|000019c0| 61 70 20 2d 31 09 09 09 | 09 09 09 2f 2a 20 55 73 |ap -1...|.../* Us|
|000019d0| 65 64 20 77 69 74 68 20 | 47 65 74 52 65 73 45 64 |ed with |GetResEd|
|000019e0| 69 74 53 63 72 61 70 46 | 69 6c 65 2e 20 2a 2f 0d |itScrapF|ile. */.|
|000019f0| 09 0d 23 64 65 66 69 6e | 65 20 61 6c 65 72 74 53 |..#defin|e alertS|
|00001a00| 74 72 69 6e 67 73 4e 61 | 6d 65 20 22 5c 70 41 6c |tringsNa|me "\pAl|
|00001a10| 65 72 74 20 73 74 72 69 | 6e 67 73 22 0d 23 64 65 |ert stri|ngs".#de|
|00001a20| 66 69 6e 65 20 72 65 76 | 65 72 74 52 65 73 6f 75 |fine rev|ertResou|
|00001a30| 72 63 65 41 6c 65 72 74 | 53 74 72 20 31 0d 23 64 |rceAlert|Str 1.#d|
|00001a40| 65 66 69 6e 65 20 6e 6f | 54 65 6d 70 6c 61 74 65 |efine no|Template|
|00001a50| 41 6c 65 72 74 20 32 09 | 09 09 09 2f 2a 20 47 4e |Alert 2.|.../* GN|
|00001a60| 52 4c 20 65 64 69 74 6f | 72 20 2a 2f 0d 23 64 65 |RL edito|r */.#de|
|00001a70| 66 69 6e 65 20 63 61 6e | 74 50 6c 61 79 4f 6e 54 |fine can|tPlayOnT|
|00001a80| 68 69 73 4d 61 63 68 69 | 6e 65 41 6c 65 72 74 20 |hisMachi|neAlert |
|00001a90| 33 09 2f 2a 20 73 6e 64 | 20 70 69 63 6b 65 72 20 |3./* snd| picker |
|00001aa0| 2a 2f 0d 23 64 65 66 69 | 6e 65 20 63 61 6e 74 50 |*/.#defi|ne cantP|
|00001ab0| 6c 61 79 53 6e 64 41 6c | 65 72 74 20 34 09 09 09 |laySndAl|ert 4...|
|00001ac0| 09 2f 2a 20 73 6e 64 20 | 70 69 63 6b 65 72 20 2a |./* snd |picker *|
|00001ad0| 2f 0d 0d 2f 2a 20 43 6f | 6e 73 74 73 20 66 6f 72 |/../* Co|nsts for|
|00001ae0| 20 52 65 73 6f 75 72 63 | 65 20 6d 65 6e 75 20 73 | Resourc|e menu s|
|00001af0| 74 72 69 6e 67 20 2a 2f | 0d 23 64 65 66 69 6e 65 |tring */|.#define|
|00001b00| 20 72 73 72 63 53 74 72 | 4e 61 6d 65 20 09 09 22 | rsrcStr|Name .."|
|00001b10| 5c 70 52 65 73 6f 75 72 | 63 65 20 6d 65 6e 75 22 |\pResour|ce menu"|
|00001b20| 0d 23 64 65 66 69 6e 65 | 20 72 73 72 63 43 72 65 |.#define| rsrcCre|
|00001b30| 61 74 65 53 74 72 20 09 | 09 31 0d 23 64 65 66 69 |ateStr .|.1.#defi|
|00001b40| 6e 65 20 72 73 72 63 4f | 70 65 6e 53 74 72 20 09 |ne rsrcO|penStr .|
|00001b50| 09 32 0d 23 64 65 66 69 | 6e 65 20 72 73 72 63 4c |.2.#defi|ne rsrcL|
|00001b60| 69 73 74 53 74 72 20 09 | 09 33 0d 23 64 65 66 69 |istStr .|.3.#defi|
|00001b70| 6e 65 20 72 73 72 63 4f | 70 65 6e 4c 69 73 74 73 |ne rsrcO|penLists|
|00001b80| 20 09 09 34 0d 23 64 65 | 66 69 6e 65 20 72 73 72 | ..4.#de|fine rsr|
|00001b90| 63 4f 70 65 6e 45 64 69 | 74 6f 72 20 09 09 35 0d |cOpenEdi|tor ..5.|
|00001ba0| 23 64 65 66 69 6e 65 20 | 72 73 72 63 4f 70 65 6e |#define |rsrcOpen|
|00001bb0| 45 64 69 74 6f 72 73 20 | 09 36 0d 23 64 65 66 69 |Editors |.6.#defi|
|00001bc0| 6e 65 20 72 73 72 63 4f | 70 65 6e 48 65 78 20 09 |ne rsrcO|penHex .|
|00001bd0| 09 37 0d 23 64 65 66 69 | 6e 65 20 72 73 72 63 52 |.7.#defi|ne rsrcR|
|00001be0| 65 76 65 72 74 20 09 09 | 09 38 0d 23 64 65 66 69 |evert ..|.8.#defi|
|00001bf0| 6e 65 20 72 73 72 63 52 | 65 76 65 72 74 54 68 65 |ne rsrcR|evertThe|
|00001c00| 73 65 20 09 39 0d 23 64 | 65 66 69 6e 65 20 72 73 |se .9.#d|efine rs|
|00001c10| 72 63 52 65 73 6f 75 72 | 63 65 73 20 09 09 31 30 |rcResour|ces ..10|
|00001c20| 0d 23 64 65 66 69 6e 65 | 20 72 73 72 63 52 65 76 |.#define| rsrcRev|
|00001c30| 65 72 74 52 65 73 20 09 | 09 31 31 0d 23 64 65 66 |ertRes .|.11.#def|
|00001c40| 69 6e 65 20 72 73 72 63 | 52 65 76 65 72 74 54 68 |ine rsrc|RevertTh|
|00001c50| 69 73 20 09 09 31 32 0d | 23 64 65 66 69 6e 65 20 |is ..12.|#define |
|00001c60| 72 73 72 63 50 61 74 43 | 72 65 61 74 65 53 74 72 |rsrcPatC|reateStr|
|00001c70| 20 09 31 33 0d 23 64 65 | 66 69 6e 65 20 72 73 72 | .13.#de|fine rsr|
|00001c80| 63 53 49 43 4e 43 72 65 | 61 74 65 53 74 72 09 31 |cSICNCre|ateStr.1|
|00001c90| 34 0d 23 64 65 66 69 6e | 65 20 72 73 72 63 44 49 |4.#defin|e rsrcDI|
|00001ca0| 54 4c 43 72 65 61 74 65 | 53 74 72 09 31 35 0d 23 |TLCreate|Str.15.#|
|00001cb0| 64 65 66 69 6e 65 20 72 | 73 72 63 52 65 76 65 72 |define r|srcRever|
|00001cc0| 74 49 74 65 6d 53 74 72 | 09 31 36 0d 23 64 65 66 |tItemStr|.16.#def|
|00001cd0| 69 6e 65 20 72 73 72 63 | 47 4e 52 4c 43 72 65 61 |ine rsrc|GNRLCrea|
|00001ce0| 74 65 53 74 72 09 31 37 | 0d 23 64 65 66 69 6e 65 |teStr.17|.#define|
|00001cf0| 20 72 73 72 63 4f 70 65 | 6e 54 65 6d 70 6c 61 74 | rsrcOpe|nTemplat|
|00001d00| 65 09 31 38 0d 23 64 65 | 66 69 6e 65 20 72 73 72 |e.18.#de|fine rsr|
|00001d10| 63 4f 70 65 6e 50 69 63 | 6b 65 72 42 79 49 44 09 |cOpenPic|kerByID.|
|00001d20| 31 39 0d 09 0d 2f 2f 09 | 43 68 61 72 61 63 74 65 |19...//.|Characte|
|00001d30| 72 20 63 6f 64 65 20 63 | 6f 6e 73 74 61 6e 74 73 |r code c|onstants|
|00001d40| 0d 23 64 65 66 69 6e 65 | 20 09 6c 65 66 74 41 72 |.#define| .leftAr|
|00001d50| 72 6f 77 4b 65 79 09 09 | 30 78 31 63 0d 23 64 65 |rowKey..|0x1c.#de|
|00001d60| 66 69 6e 65 20 09 72 69 | 67 68 74 41 72 72 6f 77 |fine .ri|ghtArrow|
|00001d70| 4b 65 79 09 09 30 78 31 | 64 0d 23 64 65 66 69 6e |Key..0x1|d.#defin|
|00001d80| 65 20 09 75 70 41 72 72 | 6f 77 4b 65 79 09 09 09 |e .upArr|owKey...|
|00001d90| 30 78 31 65 0d 23 64 65 | 66 69 6e 65 20 09 64 6f |0x1e.#de|fine .do|
|00001da0| 77 6e 41 72 72 6f 77 4b | 65 79 09 09 30 78 31 66 |wnArrowK|ey..0x1f|
|00001db0| 0d 23 64 65 66 69 6e 65 | 20 09 74 61 62 6b 65 79 |.#define| .tabkey|
|00001dc0| 09 09 09 09 30 78 39 0d | 23 64 65 66 69 6e 65 09 |....0x9.|#define.|
|00001dd0| 09 65 6e 74 65 72 4b 65 | 79 09 09 09 30 78 30 33 |.enterKe|y...0x03|
|00001de0| 0d 23 64 65 66 69 6e 65 | 09 09 64 65 6c 65 74 65 |.#define|..delete|
|00001df0| 4b 65 79 09 09 09 30 78 | 30 38 0d 23 64 65 66 69 |Key...0x|08.#defi|
|00001e00| 6e 65 09 09 72 65 74 75 | 72 6e 4b 65 79 09 09 09 |ne..retu|rnKey...|
|00001e10| 30 78 30 64 0d 23 64 65 | 66 69 6e 65 09 09 65 73 |0x0d.#de|fine..es|
|00001e20| 63 61 70 65 4b 65 79 09 | 09 09 30 78 31 62 0d 23 |capeKey.|..0x1b.#|
|00001e30| 64 65 66 69 6e 65 09 09 | 70 65 72 69 6f 64 4b 65 |define..|periodKe|
|00001e40| 79 09 09 09 30 78 32 65 | 0d 0d 09 74 79 70 65 64 |y...0x2e|...typed|
|00001e50| 65 66 20 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |ef unsig|ned char|
|00001e60| 20 53 74 72 36 34 5b 36 | 35 5d 3b 0d 0d 2f 2a 20 | Str64[6|5];../* |
|00001e70| 41 6c 65 72 74 20 6b 69 | 6e 64 73 20 75 73 65 64 |Alert ki|nds used|
|00001e80| 20 62 79 20 74 68 65 20 | 44 69 73 70 6c 61 79 41 | by the |DisplayA|
|00001e90| 6c 65 72 74 20 70 72 6f | 63 65 64 75 72 65 2e 20 |lert pro|cedure. |
|00001ea0| 2a 2f 0d 0d 09 74 79 70 | 65 64 65 66 20 65 6e 75 |*/...typ|edef enu|
|00001eb0| 6d 20 7b 20 64 69 73 70 | 6c 61 79 54 68 65 41 6c |m { disp|layTheAl|
|00001ec0| 65 72 74 2c 20 64 69 73 | 70 6c 61 79 53 74 6f 70 |ert, dis|playStop|
|00001ed0| 41 6c 65 72 74 2c 20 64 | 69 73 70 6c 61 79 4e 6f |Alert, d|isplayNo|
|00001ee0| 74 65 41 6c 65 72 74 2c | 20 64 69 73 70 6c 61 79 |teAlert,| display|
|00001ef0| 43 61 75 74 69 6f 6e 41 | 6c 65 72 74 2c 20 0d 09 |CautionA|lert, ..|
|00001f00| 09 09 09 20 20 20 64 69 | 73 70 6c 61 79 59 4e 41 |... di|splayYNA|
|00001f10| 6c 65 72 74 2c 20 64 69 | 73 70 6c 61 79 59 4e 43 |lert, di|splayYNC|
|00001f20| 41 6c 65 72 74 2c 20 64 | 69 73 70 6c 61 79 59 4e |Alert, d|isplayYN|
|00001f30| 43 53 74 6f 70 41 6c 65 | 72 74 2c 20 64 69 73 70 |CStopAle|rt, disp|
|00001f40| 6c 61 79 43 61 6e 63 65 | 6c 44 65 66 61 75 6c 74 |layCance|lDefault|
|00001f50| 43 61 75 74 69 6f 6e 41 | 6c 65 72 74 20 7d 20 41 |CautionA|lert } A|
|00001f60| 6c 65 72 74 54 79 70 65 | 3b 0d 0d 2f 2a 20 49 63 |lertType|;../* Ic|
|00001f70| 6f 6e 20 6b 69 6e 64 73 | 20 75 73 65 64 20 62 79 |on kinds| used by|
|00001f80| 20 74 68 65 20 43 68 6f | 6f 73 65 49 63 6f 6e 20 | the Cho|oseIcon |
|00001f90| 66 75 6e 63 74 69 6f 6e | 20 2a 2f 0d 0d 09 74 79 |function| */...ty|
|00001fa0| 70 65 64 65 66 20 65 6e | 75 6d 20 7b 20 6e 6f 49 |pedef en|um { noI|
|00001fb0| 63 6f 6e 2c 20 6e 6f 72 | 6d 61 6c 49 63 6f 6e 2c |con, nor|malIcon,|
|00001fc0| 20 72 65 64 75 63 65 64 | 49 63 6f 6e 2c 20 73 6d | reduced|Icon, sm|
|00001fd0| 61 6c 6c 49 63 6f 6e 2c | 0d 09 09 09 09 20 20 20 |allIcon,|..... |
|00001fe0| 6f 6e 6c 79 49 43 4f 4e | 2c 20 6f 6e 6c 79 49 43 |onlyICON|, onlyIC|
|00001ff0| 4e 50 6f 75 6e 64 20 7d | 20 49 63 6f 6e 54 79 70 |NPound }| IconTyp|
|00002000| 65 3b 0d 0d 09 20 2f 2a | 20 54 68 69 73 20 64 65 |e;... /*| This de|
|00002010| 66 69 6e 65 73 20 74 68 | 65 20 76 61 72 69 6f 75 |fines th|e variou|
|00002020| 73 20 74 79 70 65 73 20 | 6f 66 20 69 63 6f 6e 73 |s types |of icons|
|00002030| 20 68 61 6e 64 6c 65 64 | 20 62 79 20 74 68 65 20 | handled| by the |
|00002040| 69 63 6f 6e 20 63 68 6f | 6f 73 65 72 20 70 61 63 |icon cho|oser pac|
|00002050| 6b 61 67 65 2e 20 0d 09 | 20 09 50 61 73 73 69 6e |kage. ..| .Passin|
|00002060| 67 20 6f 6e 6c 79 49 43 | 4f 4e 20 69 6e 20 74 68 |g onlyIC|ON in th|
|00002070| 65 20 49 63 6f 6e 4b 69 | 6e 64 20 70 61 72 61 6d |e IconKi|nd param|
|00002080| 65 74 65 72 20 6f 66 20 | 74 68 65 20 43 68 6f 6f |eter of |the Choo|
|00002090| 73 65 49 63 6f 6e 20 66 | 75 6e 63 74 69 6f 6e 20 |seIcon f|unction |
|000020a0| 66 6f 72 63 65 73 20 74 | 68 65 20 0d 09 09 49 63 |forces t|he ...Ic|
|000020b0| 6f 6e 43 68 6f 6f 73 65 | 72 20 74 6f 20 6e 6f 74 |onChoose|r to not|
|000020c0| 20 61 6c 6c 6f 77 20 72 | 65 64 75 63 65 64 20 49 | allow r|educed I|
|000020d0| 43 4f 4e 73 20 61 6e 64 | 20 53 49 43 4e 73 2e 20 |CONs and| SICNs. |
|000020e0| 50 61 73 73 69 6e 67 20 | 6f 6e 6c 79 49 43 4e 50 |Passing |onlyICNP|
|000020f0| 6f 75 6e 64 20 69 6e 20 | 0d 09 09 74 68 65 20 49 |ound in |...the I|
|00002100| 63 6f 6e 4b 69 6e 64 20 | 70 61 72 61 6d 65 74 65 |conKind |paramete|
|00002110| 72 20 75 73 65 73 20 49 | 43 4e 23 20 72 65 73 6f |r uses I|CN# reso|
|00002120| 75 72 63 65 73 20 69 6e | 73 74 65 61 64 20 6f 66 |urces in|stead of|
|00002130| 20 49 43 4f 4e 73 2e 20 | 50 61 73 73 69 6e 67 20 | ICONs. |Passing |
|00002140| 61 6e 79 0d 09 20 09 6f | 74 68 65 72 20 76 61 6c |any.. .o|ther val|
|00002150| 75 65 20 69 6e 73 74 72 | 75 63 74 73 20 74 68 65 |ue instr|ucts the|
|00002160| 20 49 63 6f 6e 43 68 6f | 6f 73 65 72 20 74 6f 20 | IconCho|oser to |
|00002170| 73 75 70 70 6f 72 74 20 | 72 65 67 75 6c 61 72 20 |support |regular |
|00002180| 49 43 4f 4e 73 2c 20 72 | 65 64 75 63 65 64 20 49 |ICONs, r|educed I|
|00002190| 43 4f 4e 73 2c 20 0d 09 | 09 61 6e 64 20 53 49 43 |CONs, ..|.and SIC|
|000021a0| 4e 73 20 28 6c 69 6b 65 | 20 69 6e 20 74 68 65 20 |Ns (like| in the |
|000021b0| 4d 45 4e 55 20 65 64 69 | 74 6f 72 29 2e 09 09 20 |MENU edi|tor)... |
|000021c0| 20 20 20 20 20 20 20 20 | 2a 2f 0d 0d 2f 2a 20 4b | |*/../* K|
|000021d0| 69 6e 64 73 20 6f 66 20 | 77 69 6e 64 6f 77 73 20 |inds of |windows |
|000021e0| 74 68 61 74 20 73 75 70 | 70 6f 72 74 20 63 6f 6c |that sup|port col|
|000021f0| 6f 72 20 69 6e 20 64 69 | 66 66 65 72 65 6e 74 20 |or in di|fferent |
|00002200| 64 65 67 72 65 65 73 20 | 2a 2f 0d 09 74 79 70 65 |degrees |*/..type|
|00002210| 64 65 66 20 65 6e 75 6d | 20 7b 20 6e 6f 43 6f 6c |def enum| { noCol|
|00002220| 6f 72 2c 20 63 61 6e 43 | 6f 6c 6f 72 2c 20 72 65 |or, canC|olor, re|
|00002230| 71 75 69 72 65 73 43 6f | 6c 6f 72 20 7d 20 43 6f |quiresCo|lor } Co|
|00002240| 6c 6f 72 54 79 70 65 3b | 0d 0d 2f 2a 20 54 68 69 |lorType;|../* Thi|
|00002250| 73 20 73 74 72 75 63 74 | 75 72 65 20 69 73 20 75 |s struct|ure is u|
|00002260| 73 65 64 20 62 79 20 74 | 68 65 20 47 65 74 51 75 |sed by t|he GetQu|
|00002270| 69 63 6b 44 72 61 77 56 | 61 72 73 20 70 72 6f 63 |ickDrawV|ars proc|
|00002280| 65 64 75 72 65 2e 20 2a | 2f 0d 09 74 79 70 65 64 |edure. *|/..typed|
|00002290| 65 66 20 73 74 72 75 63 | 74 20 20 7b 0d 09 09 6c |ef struc|t {...l|
|000022a0| 6f 6e 67 20 09 72 61 6e | 64 53 65 65 64 3b 0d 09 |ong .ran|dSeed;..|
|000022b0| 09 42 69 74 4d 61 70 20 | 09 73 63 72 65 65 6e 42 |.BitMap |.screenB|
|000022c0| 69 74 73 3b 0d 09 09 43 | 75 72 73 6f 72 20 09 61 |its;...C|ursor .a|
|000022d0| 72 72 6f 77 3b 0d 09 09 | 50 61 74 74 65 72 6e 20 |rrow;...|Pattern |
|000022e0| 64 6b 47 72 61 79 3b 0d | 09 09 50 61 74 74 65 72 |dkGray;.|..Patter|
|000022f0| 6e 20 6c 74 47 72 61 79 | 3b 0d 09 09 50 61 74 74 |n ltGray|;...Patt|
|00002300| 65 72 6e 20 67 72 61 79 | 3b 0d 09 09 50 61 74 74 |ern gray|;...Patt|
|00002310| 65 72 6e 20 62 6c 61 63 | 6b 3b 0d 09 09 50 61 74 |ern blac|k;...Pat|
|00002320| 74 65 72 6e 20 77 68 69 | 74 65 3b 0d 09 09 47 72 |tern whi|te;...Gr|
|00002330| 61 66 50 74 72 20 74 68 | 65 50 6f 72 74 3b 0d 09 |afPtr th|ePort;..|
|00002340| 7d 20 51 75 69 63 6b 44 | 72 61 77 56 61 72 73 3b |} QuickD|rawVars;|
|00002350| 0d 09 74 79 70 65 64 65 | 66 09 51 75 69 63 6b 44 |..typede|f.QuickD|
|00002360| 72 61 77 56 61 72 73 09 | 2a 70 51 75 69 63 6b 44 |rawVars.|*pQuickD|
|00002370| 72 61 77 56 61 72 73 3b | 0d 09 0d 09 74 79 70 65 |rawVars;|....type|
|00002380| 64 65 66 20 65 6e 75 6d | 20 7b 74 65 78 74 4f 6e |def enum| {textOn|
|00002390| 6c 79 50 69 63 6b 65 72 | 2c 20 67 72 61 70 68 69 |lyPicker|, graphi|
|000023a0| 63 61 6c 31 44 50 69 63 | 6b 65 72 2c 20 67 72 61 |cal1DPic|ker, gra|
|000023b0| 70 68 69 63 61 6c 32 44 | 50 69 63 6b 65 72 7d 20 |phical2D|Picker} |
|000023c0| 50 69 63 6b 65 72 54 79 | 70 65 3b 0d 09 0d 09 2f |PickerTy|pe;..../|
|000023d0| 2a 20 77 69 6e 64 6f 77 | 20 74 79 70 65 73 20 75 |* window| types u|
|000023e0| 73 65 64 20 74 6f 20 73 | 65 74 20 74 68 65 20 77 |sed to s|et the w|
|000023f0| 69 6e 64 6f 77 54 79 70 | 65 20 66 69 65 6c 64 20 |indowTyp|e field |
|00002400| 6f 66 20 74 68 65 20 50 | 61 72 65 6e 74 48 61 6e |of the P|arentHan|
|00002410| 64 6c 65 20 2a 2f 0d 09 | 74 79 70 65 64 65 66 20 |dle */..|typedef |
|00002420| 65 6e 75 6d 20 7b 74 79 | 70 65 50 69 63 6b 65 72 |enum {ty|pePicker|
|00002430| 57 69 6e 64 6f 77 2c 20 | 72 65 73 6f 75 72 63 65 |Window, |resource|
|00002440| 50 69 63 6b 65 72 57 69 | 6e 64 6f 77 2c 20 0d 09 |PickerWi|ndow, ..|
|00002450| 09 09 09 20 20 66 6f 6c | 64 65 72 49 6e 66 6f 57 |... fol|derInfoW|
|00002460| 69 6e 64 6f 77 2c 20 66 | 69 6c 65 49 6e 66 6f 57 |indow, f|ileInfoW|
|00002470| 69 6e 64 6f 77 2c 20 72 | 65 73 6f 75 72 63 65 49 |indow, r|esourceI|
|00002480| 6e 66 6f 57 69 6e 64 6f | 77 2c 0d 09 09 09 09 20 |nfoWindo|w,..... |
|00002490| 20 65 64 69 74 6f 72 57 | 69 6e 64 6f 77 2c 20 66 | editorW|indow, f|
|000024a0| 6c 6f 61 74 69 6e 67 57 | 69 6e 64 6f 77 7d 20 50 |loatingW|indow} P|
|000024b0| 6f 73 73 69 62 6c 65 57 | 69 6e 64 6f 77 54 79 70 |ossibleW|indowTyp|
|000024c0| 65 73 3b 0d 0d 09 74 79 | 70 65 64 65 66 09 73 74 |es;...ty|pedef.st|
|000024d0| 72 75 63 74 20 50 61 72 | 65 6e 74 52 65 63 09 2a |ruct Par|entRec.*|
|000024e0| 50 61 72 65 6e 74 50 74 | 72 3b 0d 09 74 79 70 65 |ParentPt|r;..type|
|000024f0| 64 65 66 09 50 61 72 65 | 6e 74 50 74 72 09 09 09 |def.Pare|ntPtr...|
|00002500| 2a 50 61 72 65 6e 74 48 | 61 6e 64 6c 65 3b 0d 0d |*ParentH|andle;..|
|00002510| 09 74 79 70 65 64 65 66 | 09 73 74 72 75 63 74 20 |.typedef|.struct |
|00002520| 50 61 72 65 6e 74 52 65 | 63 20 7b 0d 09 09 50 61 |ParentRe|c {...Pa|
|00002530| 72 65 6e 74 48 61 6e 64 | 6c 65 09 09 66 61 74 68 |rentHand|le..fath|
|00002540| 65 72 3b 0d 09 09 53 74 | 72 32 35 35 09 09 09 09 |er;...St|r255....|
|00002550| 6e 61 6d 65 3b 09 09 09 | 2f 2a 20 4d 61 78 20 32 |name;...|/* Max 2|
|00002560| 35 35 20 63 68 61 72 61 | 63 74 65 72 73 20 2a 2f |55 chara|cters */|
|00002570| 0d 09 09 57 69 6e 64 6f | 77 50 65 65 6b 09 09 09 |...Windo|wPeek...|
|00002580| 77 69 6e 64 3b 0d 09 09 | 42 6f 6f 6c 65 61 6e 09 |wind;...|Boolean.|
|00002590| 09 09 09 72 65 62 75 69 | 6c 64 3b 09 09 2f 2a 20 |...rebui|ld;../* |
|000025a0| 46 6c 61 67 20 73 65 74 | 20 74 6f 20 69 6e 64 69 |Flag set| to indi|
|000025b0| 63 61 74 65 20 74 68 61 | 74 20 77 69 6e 64 6f 77 |cate tha|t window|
|000025c0| 20 73 68 6f 75 6c 64 20 | 62 65 20 72 65 62 75 69 | should |be rebui|
|000025d0| 6c 74 20 20 2a 2f 0d 09 | 09 42 6f 6f 6c 65 61 6e |lt */..|.Boolean|
|000025e0| 09 09 09 09 72 65 73 57 | 61 73 6e 74 4c 6f 61 64 |....resW|asntLoad|
|000025f0| 65 64 3b 09 2f 2a 20 54 | 52 55 45 20 69 66 20 74 |ed;./* T|RUE if t|
|00002600| 68 65 20 72 65 73 6f 75 | 72 63 65 20 73 68 6f 75 |he resou|rce shou|
|00002610| 6c 64 20 62 65 20 72 65 | 6c 65 61 73 65 64 20 77 |ld be re|leased w|
|00002620| 68 65 6e 20 74 68 65 20 | 77 69 6e 64 6f 77 20 69 |hen the |window i|
|00002630| 73 20 63 6c 6f 73 65 64 | 2e 20 2a 2f 0d 09 09 75 |s closed|. */...u|
|00002640| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 09 09 77 69 |nsigned |char..wi|
|00002650| 6e 64 6f 77 54 79 70 65 | 3b 0d 09 09 52 65 73 54 |ndowType|;...ResT|
|00002660| 79 70 65 09 09 09 09 74 | 68 65 52 65 73 54 79 70 |ype....t|heResTyp|
|00002670| 65 3b 09 09 2f 2a 20 54 | 79 70 65 20 6f 66 20 74 |e;../* T|ype of t|
|00002680| 68 65 20 72 65 73 6f 75 | 72 63 65 20 62 65 69 6e |he resou|rce bein|
|00002690| 67 20 70 69 63 6b 65 64 | 20 6f 72 20 65 64 69 74 |g picked| or edit|
|000026a0| 65 64 2e 20 2a 2f 0d 09 | 09 73 68 6f 72 74 09 09 |ed. */..|.short..|
|000026b0| 09 09 74 68 65 52 65 73 | 46 69 6c 65 3b 09 09 2f |..theRes|File;../|
|000026c0| 2a 20 54 68 65 20 68 6f | 6d 65 20 72 65 73 66 69 |* The ho|me resfi|
|000026d0| 6c 65 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |le of th|e window|
|000026e0| 2e 20 2a 2f 0d 09 09 73 | 68 6f 72 74 09 09 09 09 |. */...s|hort....|
|000026f0| 63 6f 64 65 52 65 73 49 | 44 3b 09 09 2f 2a 20 52 |codeResI|D;../* R|
|00002700| 65 73 6f 75 72 63 65 20 | 49 44 20 6f 66 20 74 68 |esource |ID of th|
|00002710| 65 20 52 53 53 43 20 72 | 65 73 6f 75 72 63 65 20 |e RSSC r|esource |
|00002720| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 70 |containi|ng the p|
|00002730| 69 63 6b 65 72 20 6f 72 | 20 65 64 69 74 6f 72 2e |icker or| editor.|
|00002740| 20 2a 2f 0d 09 09 48 61 | 6e 64 6c 65 09 09 09 09 | */...Ha|ndle....|
|00002750| 74 68 65 52 65 73 54 6f | 45 64 69 74 3b 0d 09 7d |theResTo|Edit;..}|
|00002760| 20 50 61 72 65 6e 74 52 | 65 63 3b 0d 0d 09 2f 2a | ParentR|ec;.../*|
|00002770| 20 56 69 65 77 54 79 70 | 65 73 20 74 6f 20 62 65 | ViewTyp|es to be|
|00002780| 20 75 73 65 64 20 77 69 | 74 68 20 74 68 65 20 76 | used wi|th the v|
|00002790| 69 65 77 42 79 20 69 74 | 65 6d 20 69 6e 20 74 68 |iewBy it|em in th|
|000027a0| 65 20 50 69 63 6b 52 65 | 63 20 2a 2f 0d 09 74 79 |e PickRe|c */..ty|
|000027b0| 70 65 64 65 66 20 65 6e | 75 6d 20 7b 76 69 65 77 |pedef en|um {view|
|000027c0| 42 79 49 64 2c 20 76 69 | 65 77 42 79 4e 61 6d 65 |ById, vi|ewByName|
|000027d0| 2c 20 76 69 65 77 42 79 | 53 69 7a 65 2c 20 76 69 |, viewBy|Size, vi|
|000027e0| 65 77 42 79 4f 72 64 65 | 72 2c 20 76 69 65 77 42 |ewByOrde|r, viewB|
|000027f0| 79 53 70 65 63 69 61 6c | 7d 20 56 69 65 77 54 79 |ySpecial|} ViewTy|
|00002800| 70 65 73 3b 0d 0d 2f 2a | 20 53 74 61 6e 64 61 72 |pes;../*| Standar|
|00002810| 64 20 70 69 63 6b 65 72 | 20 72 65 63 6f 72 64 20 |d picker| record |
|00002820| 2a 2f 0d 0d 09 74 79 70 | 65 64 65 66 20 73 74 72 |*/...typ|edef str|
|00002830| 75 63 74 20 50 69 63 6b | 52 65 63 20 7b 0d 09 09 |uct Pick|Rec {...|
|00002840| 50 61 72 65 6e 74 48 61 | 6e 64 6c 65 09 09 66 61 |ParentHa|ndle..fa|
|00002850| 74 68 65 72 3b 09 09 09 | 2f 2a 20 42 61 63 6b 20 |ther;...|/* Back |
|00002860| 70 74 72 20 74 6f 20 64 | 61 64 20 09 09 09 2a 2f |ptr to d|ad ...*/|
|00002870| 0d 09 09 53 74 72 32 35 | 35 09 09 09 09 66 4e 61 |...Str25|5....fNa|
|00002880| 6d 65 3b 09 09 09 2f 2a | 20 4d 61 78 20 32 35 35 |me;.../*| Max 255|
|00002890| 20 63 68 61 72 61 63 74 | 65 72 73 2e 20 09 09 2a | charact|ers. ..*|
|000028a0| 2f 09 09 20 0d 09 09 57 | 69 6e 64 6f 77 50 74 72 |/.. ...W|indowPtr|
|000028b0| 09 09 09 77 69 6e 64 3b | 09 09 09 2f 2a 20 50 69 |...wind;|.../* Pi|
|000028c0| 63 6b 65 72 20 77 69 6e | 64 6f 77 20 09 09 2a 2f |cker win|dow ..*/|
|000028d0| 0d 09 09 42 6f 6f 6c 65 | 61 6e 09 09 09 09 72 65 |...Boole|an....re|
|000028e0| 62 75 69 6c 64 3b 09 09 | 2f 2a 20 46 6c 61 67 20 |build;..|/* Flag |
|000028f0| 73 65 74 20 74 6f 20 69 | 6e 64 69 63 61 74 65 20 |set to i|ndicate |
|00002900| 74 68 61 74 20 77 69 6e | 64 6f 77 20 73 68 6f 75 |that win|dow shou|
|00002910| 6c 64 20 62 65 20 72 65 | 62 75 69 6c 74 20 20 2a |ld be re|built *|
|00002920| 2f 0d 09 09 42 6f 6f 6c | 65 61 6e 09 09 09 09 73 |/...Bool|ean....s|
|00002930| 70 61 72 65 31 3b 09 09 | 09 2f 2a 20 4e 6f 74 20 |pare1;..|./* Not |
|00002940| 75 73 65 64 20 68 65 72 | 65 20 2a 2f 0d 09 09 75 |used her|e */...u|
|00002950| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 09 09 77 69 |nsigned |char..wi|
|00002960| 6e 64 6f 77 54 79 70 65 | 3b 0d 09 09 52 65 73 54 |ndowType|;...ResT|
|00002970| 79 70 65 09 09 09 09 74 | 68 65 52 65 73 54 79 70 |ype....t|heResTyp|
|00002980| 65 3b 09 09 2f 2a 20 54 | 79 70 65 20 6f 66 20 74 |e;../* T|ype of t|
|00002990| 68 65 20 72 65 73 6f 75 | 72 63 65 20 62 65 69 6e |he resou|rce bein|
|000029a0| 67 20 70 69 63 6b 65 64 | 20 6f 72 20 65 64 69 74 |g picked| or edit|
|000029b0| 65 64 2e 20 2a 2f 0d 09 | 09 73 68 6f 72 74 09 09 |ed. */..|.short..|
|000029c0| 09 09 74 68 65 52 65 73 | 46 69 6c 65 3b 09 09 2f |..theRes|File;../|
|000029d0| 2a 20 54 68 65 20 68 6f | 6d 65 20 72 65 73 66 69 |* The ho|me resfi|
|000029e0| 6c 65 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |le of th|e window|
|000029f0| 2e 20 2a 2f 0d 09 09 73 | 68 6f 72 74 09 09 09 09 |. */...s|hort....|
|00002a00| 63 6f 64 65 52 65 73 49 | 44 3b 09 09 2f 2a 20 52 |codeResI|D;../* R|
|00002a10| 65 73 6f 75 72 63 65 20 | 49 44 20 6f 66 20 74 68 |esource |ID of th|
|00002a20| 65 20 52 53 53 43 20 72 | 65 73 6f 75 72 63 65 20 |e RSSC r|esource |
|00002a30| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 70 |containi|ng the p|
|00002a40| 69 63 6b 65 72 20 6f 72 | 20 65 64 69 74 6f 72 2e |icker or| editor.|
|00002a50| 20 2a 2f 0d 09 09 48 61 | 6e 64 6c 65 09 09 09 09 | */...Ha|ndle....|
|00002a60| 73 70 61 72 65 32 3b 09 | 09 09 2f 2a 20 4e 6f 74 |spare2;.|../* Not|
|00002a70| 20 75 73 65 64 20 68 65 | 72 65 20 2a 2f 0d 0d 09 | used he|re */...|
|00002a80| 09 52 65 73 54 79 70 65 | 09 09 09 09 72 54 79 70 |.ResType|....rTyp|
|00002a90| 65 3b 09 09 09 2f 2a 20 | 54 79 70 65 20 66 6f 72 |e;.../* |Type for|
|00002aa0| 20 74 68 69 73 20 70 69 | 63 6b 65 72 20 09 2a 2f | this pi|cker .*/|
|00002ab0| 0d 09 09 6c 6f 6e 67 09 | 09 09 09 72 53 69 7a 65 |...long.|...rSize|
|00002ac0| 3b 09 09 09 2f 2a 20 73 | 69 7a 65 20 6f 66 20 61 |;.../* s|ize of a|
|00002ad0| 20 6e 75 6c 6c 20 72 65 | 73 6f 75 72 63 65 20 09 | null re|source .|
|00002ae0| 2a 2f 0d 09 09 73 68 6f | 72 74 09 09 09 09 6d 69 |*/...sho|rt....mi|
|00002af0| 6e 57 69 6e 64 6f 77 57 | 69 64 74 68 3b 09 2f 2a |nWindowW|idth;./*|
|00002b00| 20 55 73 65 20 77 68 65 | 6e 20 74 68 65 20 77 69 | Use whe|n the wi|
|00002b10| 6e 64 6f 77 20 69 73 20 | 67 72 6f 77 6e 2e 20 2a |ndow is |grown. *|
|00002b20| 2f 0d 09 09 73 68 6f 72 | 74 09 09 09 09 6d 69 6e |/...shor|t....min|
|00002b30| 57 69 6e 64 6f 77 48 65 | 69 67 68 74 3b 0d 09 09 |WindowHe|ight;...|
|00002b40| 4c 69 73 74 48 61 6e 64 | 6c 65 09 09 09 69 6e 73 |ListHand|le...ins|
|00002b50| 74 61 6e 63 65 73 3b 09 | 09 2f 2a 20 4c 69 73 74 |tances;.|./* List|
|00002b60| 20 6f 66 20 69 6e 73 74 | 61 6e 63 65 73 20 09 09 | of inst|ances ..|
|00002b70| 2a 2f 0d 09 09 73 68 6f | 72 74 09 09 09 09 6e 49 |*/...sho|rt....nI|
|00002b80| 6e 73 74 73 3b 09 09 09 | 2f 2a 20 4e 75 6d 62 65 |nsts;...|/* Numbe|
|00002b90| 72 20 6f 66 20 69 6e 73 | 74 61 6e 63 65 73 20 09 |r of ins|tances .|
|00002ba0| 09 2a 2f 0d 09 09 75 6e | 73 69 67 6e 65 64 20 63 |.*/...un|signed c|
|00002bb0| 68 61 72 09 09 76 69 65 | 77 42 79 3b 09 09 09 2f |har..vie|wBy;.../|
|00002bc0| 2a 20 43 75 72 72 65 6e | 74 20 76 69 65 77 20 74 |* Curren|t view t|
|00002bd0| 79 70 65 09 09 2a 2f 0d | 09 09 42 6f 6f 6c 65 61 |ype..*/.|..Boolea|
|00002be0| 6e 09 09 09 09 73 68 6f | 77 41 74 74 72 69 62 75 |n....sho|wAttribu|
|00002bf0| 74 65 73 3b 09 2f 2a 20 | 53 68 6f 77 20 61 74 74 |tes;./* |Show att|
|00002c00| 72 73 20 69 6e 20 77 69 | 6e 64 6f 77 3f 09 2a 2f |rs in wi|ndow?.*/|
|00002c10| 0d 09 09 52 65 73 54 79 | 70 65 09 09 09 09 6c 64 |...ResTy|pe....ld|
|00002c20| 65 66 54 79 70 65 3b 09 | 09 2f 2a 20 57 68 69 63 |efType;.|./* Whic|
|00002c30| 68 20 4c 44 45 46 20 74 | 6f 20 75 73 65 09 09 2a |h LDEF t|o use..*|
|00002c40| 2f 0d 09 09 4d 65 6e 75 | 48 61 6e 64 6c 65 09 09 |/...Menu|Handle..|
|00002c50| 09 74 68 65 56 69 65 77 | 4d 65 6e 75 3b 09 2f 2a |.theView|Menu;./*|
|00002c60| 20 54 68 65 20 70 69 63 | 6b 65 72 20 76 69 65 77 | The pic|ker view|
|00002c70| 20 6d 65 6e 75 09 09 2a | 2f 0d 09 09 6c 6f 6e 67 | menu..*|/...long|
|00002c80| 09 09 09 09 76 69 65 77 | 4d 65 6e 75 4d 61 73 6b |....view|MenuMask|
|00002c90| 3b 09 2f 2a 20 57 68 69 | 63 68 20 69 74 65 6d 73 |;./* Whi|ch items|
|00002ca0| 20 61 72 65 20 65 6e 61 | 62 6c 65 64 3f 09 2a 2f | are ena|bled?.*/|
|00002cb0| 0d 09 09 43 65 6c 6c 09 | 09 09 09 63 65 6c 6c 53 |...Cell.|...cellS|
|00002cc0| 69 7a 65 3b 09 09 2f 2a | 20 53 69 7a 65 20 66 6f |ize;../*| Size fo|
|00002cd0| 72 20 73 70 65 63 69 61 | 6c 20 76 69 65 77 2e 09 |r specia|l view..|
|00002ce0| 2a 2f 0d 09 09 53 74 72 | 32 35 35 09 09 09 09 6f |*/...Str|255....o|
|00002cf0| 70 74 69 6f 6e 43 72 65 | 61 74 65 53 74 72 3b 2f |ptionCre|ateStr;/|
|00002d00| 2a 20 43 72 65 61 74 65 | 20 69 74 65 6d 20 6d 65 |* Create| item me|
|00002d10| 6e 75 20 74 65 78 74 20 | 77 68 65 6e 20 74 68 65 |nu text |when the|
|00002d20| 20 6f 70 74 69 6f 6e 20 | 6b 65 79 20 69 73 20 70 | option |key is p|
|00002d30| 72 65 73 73 65 64 2e 20 | 2a 2f 0d 09 7d 20 50 69 |ressed. |*/..} Pi|
|00002d40| 63 6b 52 65 63 3b 0d 09 | 0d 09 74 79 70 65 64 65 |ckRec;..|..typede|
|00002d50| 66 09 50 69 63 6b 52 65 | 63 09 2a 50 69 63 6b 50 |f.PickRe|c.*PickP|
|00002d60| 74 72 3b 0d 09 74 79 70 | 65 64 65 66 09 50 69 63 |tr;..typ|edef.Pic|
|00002d70| 6b 50 74 72 09 2a 50 69 | 63 6b 48 61 6e 64 6c 65 |kPtr.*Pi|ckHandle|
|00002d80| 3b 0d 0d 09 74 79 70 65 | 64 65 66 20 73 74 72 75 |;...type|def stru|
|00002d90| 63 74 20 46 6c 6f 61 74 | 69 6e 67 57 69 6e 64 6f |ct Float|ingWindo|
|00002da0| 77 52 65 63 20 7b 0d 09 | 09 50 61 72 65 6e 74 48 |wRec {..|.ParentH|
|00002db0| 61 6e 64 6c 65 09 09 66 | 61 74 68 65 72 3b 09 09 |andle..f|ather;..|
|00002dc0| 09 2f 2a 20 42 61 63 6b | 20 70 74 72 20 74 6f 20 |./* Back| ptr to |
|00002dd0| 64 61 64 20 09 09 09 2a | 2f 0d 09 09 53 74 72 32 |dad ...*|/...Str2|
|00002de0| 35 35 09 09 09 09 6e 61 | 6d 65 3b 09 09 09 2f 2a |55....na|me;.../*|
|00002df0| 20 4d 61 78 20 32 35 35 | 20 63 68 61 72 61 63 74 | Max 255| charact|
|00002e00| 65 72 73 2e 20 09 09 2a | 2f 09 09 20 0d 09 09 57 |ers. ..*|/.. ...W|
|00002e10| 69 6e 64 6f 77 50 74 72 | 09 09 09 77 69 6e 64 3b |indowPtr|...wind;|
|00002e20| 09 09 09 2f 2a 20 46 6c | 6f 61 74 69 6e 67 20 77 |.../* Fl|oating w|
|00002e30| 69 6e 64 6f 77 20 09 09 | 2a 2f 0d 09 09 42 6f 6f |indow ..|*/...Boo|
|00002e40| 6c 65 61 6e 09 09 09 09 | 72 65 62 75 69 6c 64 3b |lean....|rebuild;|
|00002e50| 09 09 2f 2a 20 46 6c 61 | 67 20 73 65 74 20 74 6f |../* Fla|g set to|
|00002e60| 20 69 6e 64 69 63 61 74 | 65 20 74 68 61 74 20 77 | indicat|e that w|
|00002e70| 69 6e 64 6f 77 20 73 68 | 6f 75 6c 64 20 62 65 20 |indow sh|ould be |
|00002e80| 72 65 62 75 69 6c 74 20 | 20 2a 2f 0d 09 09 42 6f |rebuilt | */...Bo|
|00002e90| 6f 6c 65 61 6e 09 09 09 | 09 76 69 73 69 62 6c 65 |olean...|.visible|
|00002ea0| 3b 09 09 2f 2a 20 49 73 | 20 74 68 65 20 77 69 6e |;../* Is| the win|
|00002eb0| 64 6f 77 20 68 69 64 64 | 65 6e 20 74 65 6d 70 6f |dow hidd|en tempo|
|00002ec0| 72 61 72 69 6c 79 3f 20 | 2a 2f 0d 09 09 75 6e 73 |rarily? |*/...uns|
|00002ed0| 69 67 6e 65 64 20 63 68 | 61 72 09 09 77 69 6e 64 |igned ch|ar..wind|
|00002ee0| 6f 77 54 79 70 65 3b 0d | 09 09 52 65 73 54 79 70 |owType;.|..ResTyp|
|00002ef0| 65 09 09 09 09 74 68 65 | 52 65 73 54 79 70 65 3b |e....the|ResType;|
|00002f00| 09 09 2f 2a 20 54 79 70 | 65 20 6f 66 20 74 68 65 |../* Typ|e of the|
|00002f10| 20 72 65 73 6f 75 72 63 | 65 20 62 65 69 6e 67 20 | resourc|e being |
|00002f20| 70 69 63 6b 65 64 20 6f | 72 20 65 64 69 74 65 64 |picked o|r edited|
|00002f30| 2e 20 2a 2f 0d 09 09 73 | 68 6f 72 74 09 09 09 09 |. */...s|hort....|
|00002f40| 74 68 65 52 65 73 46 69 | 6c 65 3b 09 09 2f 2a 20 |theResFi|le;../* |
|00002f50| 54 68 65 20 68 6f 6d 65 | 20 72 65 73 66 69 6c 65 |The home| resfile|
|00002f60| 20 6f 66 20 74 68 65 20 | 77 69 6e 64 6f 77 2e 20 | of the |window. |
|00002f70| 2a 2f 0d 09 09 73 68 6f | 72 74 09 09 09 09 63 6f |*/...sho|rt....co|
|00002f80| 64 65 52 65 73 49 44 3b | 09 09 2f 2a 20 52 65 73 |deResID;|../* Res|
|00002f90| 6f 75 72 63 65 20 49 44 | 20 6f 66 20 74 68 65 20 |ource ID| of the |
|00002fa0| 52 53 53 43 20 72 65 73 | 6f 75 72 63 65 20 63 6f |RSSC res|ource co|
|00002fb0| 6e 74 61 69 6e 69 6e 67 | 20 74 68 65 20 70 69 63 |ntaining| the pic|
|00002fc0| 6b 65 72 20 6f 72 20 65 | 64 69 74 6f 72 2e 20 2a |ker or e|ditor. *|
|00002fd0| 2f 0d 09 09 57 69 6e 64 | 6f 77 50 74 72 09 09 09 |/...Wind|owPtr...|
|00002fe0| 6f 77 6e 65 72 57 69 6e | 64 6f 77 3b 09 2f 2a 20 |ownerWin|dow;./* |
|00002ff0| 57 68 69 63 68 20 77 69 | 6e 64 6f 77 20 6f 77 6e |Which wi|ndow own|
|00003000| 73 20 74 68 69 73 20 66 | 6c 6f 61 74 69 6e 67 20 |s this f|loating |
|00003010| 77 69 6e 64 6f 77 3f 20 | 2a 2f 0d 09 7d 20 46 6c |window? |*/..} Fl|
|00003020| 6f 61 74 69 6e 67 57 69 | 6e 64 6f 77 52 65 63 3b |oatingWi|ndowRec;|
|00003030| 0d 0d 09 74 79 70 65 64 | 65 66 20 46 6c 6f 61 74 |...typed|ef Float|
|00003040| 69 6e 67 57 69 6e 64 6f | 77 52 65 63 20 2a 46 6c |ingWindo|wRec *Fl|
|00003050| 6f 61 74 69 6e 67 57 69 | 6e 64 6f 77 50 74 72 3b |oatingWi|ndowPtr;|
|00003060| 0d 09 74 79 70 65 64 65 | 66 20 46 6c 6f 61 74 69 |..typede|f Floati|
|00003070| 6e 67 57 69 6e 64 6f 77 | 50 74 72 20 2a 46 6c 6f |ngWindow|Ptr *Flo|
|00003080| 61 74 69 6e 67 57 69 6e | 64 6f 77 48 61 6e 64 6c |atingWin|dowHandl|
|00003090| 65 3b 0d 0d 09 74 79 70 | 65 64 65 66 20 70 61 73 |e;...typ|edef pas|
|000030a0| 63 61 6c 20 76 6f 69 64 | 20 28 2a 44 72 61 77 52 |cal void| (*DrawR|
|000030b0| 65 73 50 72 6f 63 50 74 | 72 29 20 28 52 65 63 74 |esProcPt|r) (Rect|
|000030c0| 20 2a 6c 52 65 63 74 2c | 20 48 61 6e 64 6c 65 20 | *lRect,| Handle |
|000030d0| 74 68 65 49 63 6f 6e 29 | 3b 0d 0d 0d 2f 2a 20 57 |theIcon)|;.../* W|
|000030e0| 69 6e 64 6f 77 20 55 74 | 69 6c 69 74 69 65 73 20 |indow Ut|ilities |
|000030f0| 2a 2f 0d 0d 70 61 73 63 | 61 6c 20 42 6f 6f 6c 65 |*/..pasc|al Boole|
|00003100| 61 6e 09 09 41 6c 72 65 | 61 64 79 4f 70 65 6e 20 |an..Alre|adyOpen |
|00003110| 28 53 74 72 69 6e 67 50 | 74 72 20 77 69 6e 64 6f |(StringP|tr windo|
|00003120| 77 54 69 74 6c 65 2c 20 | 53 74 72 69 6e 67 50 74 |wTitle, |StringPt|
|00003130| 72 20 77 69 6e 64 6f 77 | 4e 61 6d 65 2c 20 50 61 |r window|Name, Pa|
|00003140| 72 65 6e 74 48 61 6e 64 | 6c 65 20 70 61 72 65 6e |rentHand|le paren|
|00003150| 74 29 3b 0d 70 61 73 63 | 61 6c 20 57 69 6e 64 6f |t);.pasc|al Windo|
|00003160| 77 50 74 72 09 45 64 69 | 74 6f 72 57 69 6e 64 53 |wPtr.Edi|torWindS|
|00003170| 65 74 75 70 20 28 73 68 | 6f 72 74 20 64 6c 6f 67 |etup (sh|ort dlog|
|00003180| 49 44 2c 20 43 6f 6c 6f | 72 54 79 70 65 20 63 6f |ID, Colo|rType co|
|00003190| 6c 6f 72 4b 69 6e 64 2c | 20 73 68 6f 72 74 20 77 |lorKind,| short w|
|000031a0| 69 64 74 68 2c 20 73 68 | 6f 72 74 20 68 65 69 67 |idth, sh|ort heig|
|000031b0| 68 74 2c 20 53 74 72 69 | 6e 67 50 74 72 20 77 69 |ht, Stri|ngPtr wi|
|000031c0| 6e 64 6f 77 54 69 74 6c | 65 2c 20 0d 09 09 09 09 |ndowTitl|e, .....|
|000031d0| 09 09 09 09 09 20 53 74 | 72 69 6e 67 50 74 72 20 |..... St|ringPtr |
|000031e0| 77 69 6e 64 6f 77 4e 61 | 6d 65 2c 20 42 6f 6f 6c |windowNa|me, Bool|
|000031f0| 65 61 6e 20 61 64 64 46 | 72 6f 6d 2c 20 73 68 6f |ean addF|rom, sho|
|00003200| 72 74 20 77 69 6e 64 6f | 77 4b 69 6e 64 2c 20 50 |rt windo|wKind, P|
|00003210| 61 72 65 6e 74 48 61 6e | 64 6c 65 20 70 61 72 65 |arentHan|dle pare|
|00003220| 6e 74 29 3b 0d 70 61 73 | 63 61 6c 20 57 69 6e 64 |nt);.pas|cal Wind|
|00003230| 6f 77 50 74 72 09 46 6c | 6f 61 74 69 6e 67 57 69 |owPtr.Fl|oatingWi|
|00003240| 6e 64 6f 77 53 65 74 75 | 70 20 28 73 68 6f 72 74 |ndowSetu|p (short|
|00003250| 20 57 49 4e 44 49 44 2c | 20 46 6c 6f 61 74 69 6e | WINDID,| Floatin|
|00003260| 67 57 69 6e 64 6f 77 48 | 61 6e 64 6c 65 20 66 77 |gWindowH|andle fw|
|00003270| 2c 0d 09 09 09 09 09 09 | 09 20 20 20 09 09 09 20 |,.......|. ... |
|00003280| 50 61 72 65 6e 74 48 61 | 6e 64 6c 65 20 6f 77 6e |ParentHa|ndle own|
|00003290| 65 72 2c 20 50 6f 69 6e | 74 20 77 68 65 72 65 29 |er, Poin|t where)|
|000032a0| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 09 |;.pascal| void...|
|000032b0| 47 65 74 57 69 6e 64 6f | 77 54 69 74 6c 65 20 28 |GetWindo|wTitle (|
|000032c0| 53 74 72 69 6e 67 50 74 | 72 20 77 69 6e 64 6f 77 |StringPt|r window|
|000032d0| 54 69 74 6c 65 2c 20 53 | 74 72 69 6e 67 50 74 72 |Title, S|tringPtr|
|000032e0| 20 77 69 6e 64 6f 77 4e | 61 6d 65 2c 20 42 6f 6f | windowN|ame, Boo|
|000032f0| 6c 65 61 6e 20 61 64 64 | 46 72 6f 6d 2c 0d 09 09 |lean add|From,...|
|00003300| 09 09 09 09 09 09 09 50 | 61 72 65 6e 74 48 61 6e |.......P|arentHan|
|00003310| 64 6c 65 20 70 61 72 65 | 6e 74 29 3b 0d 70 61 73 |dle pare|nt);.pas|
|00003320| 63 61 6c 20 57 69 6e 64 | 6f 77 50 74 72 09 50 69 |cal Wind|owPtr.Pi|
|00003330| 63 6b 65 72 57 69 6e 64 | 53 65 74 75 70 20 28 43 |ckerWind|Setup (C|
|00003340| 6f 6c 6f 72 54 79 70 65 | 20 63 6f 6c 6f 72 4b 69 |olorType| colorKi|
|00003350| 6e 64 2c 20 42 6f 6f 6c | 65 61 6e 20 73 68 6f 77 |nd, Bool|ean show|
|00003360| 54 68 65 57 69 6e 64 6f | 77 2c 20 73 68 6f 72 74 |TheWindo|w, short|
|00003370| 20 77 69 64 74 68 2c 20 | 73 68 6f 72 74 20 68 65 | width, |short he|
|00003380| 69 67 68 74 2c 20 0d 09 | 09 09 09 09 09 09 09 09 |ight, ..|........|
|00003390| 20 53 74 72 69 6e 67 50 | 74 72 20 77 69 6e 64 6f | StringP|tr windo|
|000033a0| 77 54 69 74 6c 65 2c 20 | 73 68 6f 72 74 20 77 69 |wTitle, |short wi|
|000033b0| 6e 64 6f 77 4b 69 6e 64 | 2c 20 50 61 72 65 6e 74 |ndowKind|, Parent|
|000033c0| 48 61 6e 64 6c 65 20 70 | 61 72 65 6e 74 29 3b 0d |Handle p|arent);.|
|000033d0| 70 61 73 63 61 6c 20 76 | 6f 69 64 09 09 09 53 65 |pascal v|oid...Se|
|000033e0| 74 45 54 69 74 6c 65 28 | 48 61 6e 64 6c 65 20 68 |tETitle(|Handle h|
|000033f0| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 73 74 72 29 |, String|Ptr str)|
|00003400| 3b 0d 70 61 73 63 61 6c | 20 57 69 6e 64 6f 77 50 |;.pascal| WindowP|
|00003410| 74 72 09 57 69 6e 64 41 | 6c 6c 6f 63 28 76 6f 69 |tr.WindA|lloc(voi|
|00003420| 64 29 3b 0d 70 61 73 63 | 61 6c 20 76 6f 69 64 09 |d);.pasc|al void.|
|00003430| 09 09 57 69 6e 64 52 65 | 74 75 72 6e 28 57 69 6e |..WindRe|turn(Win|
|00003440| 64 6f 77 50 74 72 20 77 | 29 3b 0d 0d 0d 2f 2a 20 |dowPtr w|);.../* |
|00003450| 45 78 74 65 6e 64 65 64 | 20 52 65 73 6f 75 72 63 |Extended| Resourc|
|00003460| 65 20 4d 61 6e 61 67 65 | 72 20 2a 2f 0d 0d 70 61 |e Manage|r */..pa|
|00003470| 73 63 61 6c 20 42 6f 6f | 6c 65 61 6e 09 09 52 45 |scal Boo|lean..RE|
|00003480| 41 64 64 4e 65 77 52 65 | 73 28 73 68 6f 72 74 20 |AddNewRe|s(short |
|00003490| 72 65 73 46 69 6c 65 2c | 20 48 61 6e 64 6c 65 20 |resFile,| Handle |
|000034a0| 68 4e 65 77 2c 20 52 65 | 73 54 79 70 65 20 74 2c |hNew, Re|sType t,|
|000034b0| 20 73 68 6f 72 74 20 69 | 64 4e 65 77 2c 20 63 6f | short i|dNew, co|
|000034c0| 6e 73 74 20 53 74 72 32 | 35 35 20 73 29 3b 0d 70 |nst Str2|55 s);.p|
|000034d0| 61 73 63 61 6c 20 76 6f | 69 64 09 09 09 52 45 41 |ascal vo|id...REA|
|000034e0| 64 64 52 65 73 6f 75 72 | 63 65 28 73 68 6f 72 74 |ddResour|ce(short|
|000034f0| 20 72 65 73 46 69 6c 65 | 2c 20 48 61 6e 64 6c 65 | resFile|, Handle|
|00003500| 20 74 68 65 52 65 73 6f | 75 72 63 65 2c 0d 09 09 | theReso|urce,...|
|00003510| 09 09 09 09 09 09 20 20 | 52 65 73 54 79 70 65 20 |...... |ResType |
|00003520| 74 68 65 54 79 70 65 2c | 20 73 68 6f 72 74 20 74 |theType,| short t|
|00003530| 68 65 49 44 2c 20 63 6f | 6e 73 74 20 53 74 72 32 |heID, co|nst Str2|
|00003540| 35 35 20 6e 61 6d 65 29 | 3b 0d 70 61 73 63 61 6c |55 name)|;.pascal|
|00003550| 20 73 68 6f 72 74 09 09 | 52 45 42 65 61 75 74 69 | short..|REBeauti|
|00003560| 66 75 6c 55 6e 69 71 75 | 65 31 49 44 28 73 68 6f |fulUniqu|e1ID(sho|
|00003570| 72 74 20 72 65 73 46 69 | 6c 65 2c 20 52 65 73 54 |rt resFi|le, ResT|
|00003580| 79 70 65 20 57 68 69 63 | 68 54 79 70 65 29 3b 0d |ype Whic|hType);.|
|00003590| 70 61 73 63 61 6c 20 73 | 68 6f 72 74 09 09 52 45 |pascal s|hort..RE|
|000035a0| 43 6f 75 6e 74 31 52 65 | 73 6f 75 72 63 65 73 28 |Count1Re|sources(|
|000035b0| 73 68 6f 72 74 20 72 65 | 73 46 69 6c 65 2c 20 52 |short re|sFile, R|
|000035c0| 65 73 54 79 70 65 20 74 | 68 65 54 79 70 65 29 3b |esType t|heType);|
|000035d0| 0d 70 61 73 63 61 6c 20 | 73 68 6f 72 74 09 09 52 |.pascal |short..R|
|000035e0| 45 43 6f 75 6e 74 31 54 | 79 70 65 73 20 28 73 68 |ECount1T|ypes (sh|
|000035f0| 6f 72 74 20 72 65 73 46 | 69 6c 65 29 3b 0d 70 61 |ort resF|ile);.pa|
|00003600| 73 63 61 6c 20 48 61 6e | 64 6c 65 09 09 52 45 47 |scal Han|dle..REG|
|00003610| 65 74 31 49 6e 64 52 65 | 73 6f 75 72 63 65 28 73 |et1IndRe|source(s|
|00003620| 68 6f 72 74 20 72 65 73 | 46 69 6c 65 2c 20 52 65 |hort res|File, Re|
|00003630| 73 54 79 70 65 20 74 68 | 65 54 79 70 65 2c 20 73 |sType th|eType, s|
|00003640| 68 6f 72 74 20 69 6e 64 | 65 78 29 3b 0d 70 61 73 |hort ind|ex);.pas|
|00003650| 63 61 6c 20 76 6f 69 64 | 09 09 09 52 45 47 65 74 |cal void|...REGet|
|00003660| 31 49 6e 64 54 79 70 65 | 28 73 68 6f 72 74 20 72 |1IndType|(short r|
|00003670| 65 73 46 69 6c 65 2c 20 | 52 65 73 54 79 70 65 20 |esFile, |ResType |
|00003680| 2a 74 68 65 54 79 70 65 | 2c 20 73 68 6f 72 74 20 |*theType|, short |
|00003690| 69 6e 64 65 78 29 3b 0d | 70 61 73 63 61 6c 20 48 |index);.|pascal H|
|000036a0| 61 6e 64 6c 65 09 09 52 | 45 47 65 74 31 4e 61 6d |andle..R|EGet1Nam|
|000036b0| 65 64 52 65 73 6f 75 72 | 63 65 28 73 68 6f 72 74 |edResour|ce(short|
|000036c0| 20 72 65 73 46 69 6c 65 | 2c 20 52 65 73 54 79 70 | resFile|, ResTyp|
|000036d0| 65 20 74 68 65 54 79 70 | 65 2c 20 63 6f 6e 73 74 |e theTyp|e, const|
|000036e0| 20 53 74 72 32 35 35 20 | 6e 61 6d 65 29 3b 0d 70 | Str255 |name);.p|
|000036f0| 61 73 63 61 6c 20 48 61 | 6e 64 6c 65 09 09 52 45 |ascal Ha|ndle..RE|
|00003700| 47 65 74 31 52 65 73 6f | 75 72 63 65 28 73 68 6f |Get1Reso|urce(sho|
|00003710| 72 74 20 72 65 73 46 69 | 6c 65 2c 20 52 65 73 54 |rt resFi|le, ResT|
|00003720| 79 70 65 20 74 68 65 54 | 79 70 65 2c 20 73 68 6f |ype theT|ype, sho|
|00003730| 72 74 20 74 68 65 49 44 | 29 3b 0d 70 61 73 63 61 |rt theID|);.pasca|
|00003740| 6c 20 48 61 6e 64 6c 65 | 09 09 52 45 47 65 74 31 |l Handle|..REGet1|
|00003750| 52 65 73 6f 75 72 63 65 | 53 70 65 63 69 61 6c 20 |Resource|Special |
|00003760| 28 73 68 6f 72 74 20 72 | 65 73 46 69 6c 65 2c 20 |(short r|esFile, |
|00003770| 52 65 73 54 79 70 65 20 | 74 68 65 54 79 70 65 2c |ResType |theType,|
|00003780| 20 73 68 6f 72 74 20 49 | 44 2c 20 0d 09 09 09 09 | short I|D, .....|
|00003790| 09 09 09 09 09 09 20 20 | 20 42 6f 6f 6c 65 61 6e |...... | Boolean|
|000037a0| 20 2a 77 61 73 4c 6f 61 | 64 65 64 2c 20 73 68 6f | *wasLoa|ded, sho|
|000037b0| 72 74 20 2a 65 72 72 6f | 72 29 3b 0d 70 61 73 63 |rt *erro|r);.pasc|
|000037c0| 61 6c 20 48 61 6e 64 6c | 65 09 09 52 45 4e 65 77 |al Handl|e..RENew|
|000037d0| 55 6e 69 71 75 65 52 65 | 73 28 73 68 6f 72 74 20 |UniqueRe|s(short |
|000037e0| 72 65 73 46 69 6c 65 2c | 20 6c 6f 6e 67 20 73 2c |resFile,| long s,|
|000037f0| 20 52 65 73 54 79 70 65 | 20 74 29 3b 0d 70 61 73 | ResType| t);.pas|
|00003800| 63 61 6c 20 76 6f 69 64 | 09 09 09 52 45 52 65 6d |cal void|...RERem|
|00003810| 6f 76 65 41 6e 79 52 65 | 73 6f 75 72 63 65 20 28 |oveAnyRe|source (|
|00003820| 73 68 6f 72 74 20 72 65 | 73 46 69 6c 65 2c 20 48 |short re|sFile, H|
|00003830| 61 6e 64 6c 65 20 74 68 | 65 52 65 73 29 3b 0d 70 |andle th|eRes);.p|
|00003840| 61 73 63 61 6c 20 42 6f | 6f 6c 65 61 6e 09 09 52 |ascal Bo|olean..R|
|00003850| 65 76 65 72 74 54 68 69 | 73 52 65 73 6f 75 72 63 |evertThi|sResourc|
|00003860| 65 20 28 50 61 72 65 6e | 74 48 61 6e 64 6c 65 20 |e (Paren|tHandle |
|00003870| 70 61 72 65 6e 74 2c 20 | 48 61 6e 64 6c 65 20 74 |parent, |Handle t|
|00003880| 68 65 52 65 73 29 3b 0d | 0d 2f 2a 20 52 6f 75 74 |heRes);.|./* Rout|
|00003890| 69 6e 65 73 20 75 73 65 | 64 20 62 79 20 70 69 63 |ines use|d by pic|
|000038a0| 6b 65 72 73 2e 20 2a 2f | 0d 70 61 73 63 61 6c 20 |kers. */|.pascal |
|000038b0| 73 68 6f 72 74 09 09 44 | 65 66 61 75 6c 74 4c 69 |short..D|efaultLi|
|000038c0| 73 74 43 65 6c 6c 53 69 | 7a 65 28 76 6f 69 64 29 |stCellSi|ze(void)|
|000038d0| 3b 0d 70 61 73 63 61 6c | 20 42 6f 6f 6c 65 61 6e |;.pascal| Boolean|
|000038e0| 09 09 44 6f 50 69 63 6b | 42 69 72 74 68 28 43 6f |..DoPick|Birth(Co|
|000038f0| 6c 6f 72 54 79 70 65 20 | 63 6f 6c 6f 72 4b 69 6e |lorType |colorKin|
|00003900| 64 2c 20 42 6f 6f 6c 65 | 61 6e 20 62 75 69 6c 64 |d, Boole|an build|
|00003910| 4c 69 73 74 2c 20 50 69 | 63 6b 65 72 54 79 70 65 |List, Pi|ckerType|
|00003920| 20 77 68 69 63 68 2c 0d | 09 09 09 09 09 09 09 09 | which,.|........|
|00003930| 73 68 6f 72 74 20 70 69 | 63 6b 65 72 52 65 73 49 |short pi|ckerResI|
|00003940| 64 2c 20 50 69 63 6b 48 | 61 6e 64 6c 65 20 70 69 |d, PickH|andle pi|
|00003950| 63 6b 29 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |ck);.pas|cal void|
|00003960| 09 09 09 44 72 61 77 4c | 44 45 46 20 28 73 68 6f |...DrawL|DEF (sho|
|00003970| 72 74 20 6d 65 73 73 61 | 67 65 2c 20 42 6f 6f 6c |rt messa|ge, Bool|
|00003980| 65 61 6e 20 6c 53 65 6c | 65 63 74 2c 20 63 6f 6e |ean lSel|ect, con|
|00003990| 73 74 20 52 65 63 74 20 | 2a 6c 52 65 63 74 2c 20 |st Rect |*lRect, |
|000039a0| 48 61 6e 64 6c 65 20 74 | 68 65 52 65 73 2c 0d 09 |Handle t|heRes,..|
|000039b0| 09 09 09 09 09 09 20 20 | 73 68 6f 72 74 20 69 64 |...... |short id|
|000039c0| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 74 69 74 6c |, String|Ptr titl|
|000039d0| 65 2c 20 73 68 6f 72 74 | 20 6d 61 78 48 2c 20 73 |e, short| maxH, s|
|000039e0| 68 6f 72 74 20 6d 61 78 | 56 2c 20 0d 09 09 09 09 |hort max|V, .....|
|000039f0| 09 09 09 20 20 44 72 61 | 77 52 65 73 50 72 6f 63 |... Dra|wResProc|
|00003a00| 50 74 72 20 44 72 61 77 | 52 65 73 6f 75 72 63 65 |Ptr Draw|Resource|
|00003a10| 2c 20 4c 69 73 74 48 61 | 6e 64 6c 65 20 6c 68 29 |, ListHa|ndle lh)|
|00003a20| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 09 |;.pascal| void...|
|00003a30| 47 72 6f 77 4d 79 57 69 | 6e 64 6f 77 20 28 73 68 |GrowMyWi|ndow (sh|
|00003a40| 6f 72 74 20 6d 69 6e 57 | 69 64 74 68 2c 20 73 68 |ort minW|idth, sh|
|00003a50| 6f 72 74 20 6d 69 6e 48 | 65 69 67 68 74 2c 20 57 |ort minH|eight, W|
|00003a60| 69 6e 64 6f 77 50 74 72 | 20 77 69 6e 64 50 74 72 |indowPtr| windPtr|
|00003a70| 2c 20 4c 69 73 74 48 61 | 6e 64 6c 65 20 6c 68 29 |, ListHa|ndle lh)|
|00003a80| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 09 |;.pascal| void...|
|00003a90| 50 69 63 6b 45 76 65 6e | 74 28 45 76 65 6e 74 52 |PickEven|t(EventR|
|00003aa0| 65 63 6f 72 64 20 2a 65 | 76 74 2c 20 50 69 63 6b |ecord *e|vt, Pick|
|00003ab0| 48 61 6e 64 6c 65 20 70 | 69 63 6b 29 3b 0d 70 61 |Handle p|ick);.pa|
|00003ac0| 73 63 61 6c 20 76 6f 69 | 64 09 09 09 50 69 63 6b |scal voi|d...Pick|
|00003ad0| 49 6e 66 6f 55 70 28 73 | 68 6f 72 74 20 6f 6c 64 |InfoUp(s|hort old|
|00003ae0| 49 44 2c 20 73 68 6f 72 | 74 20 6e 65 77 49 44 2c |ID, shor|t newID,|
|00003af0| 20 50 69 63 6b 48 61 6e | 64 6c 65 20 70 69 63 6b | PickHan|dle pick|
|00003b00| 29 3b 0d 70 61 73 63 61 | 6c 20 76 6f 69 64 09 09 |);.pasca|l void..|
|00003b10| 09 50 69 63 6b 4d 65 6e | 75 28 73 68 6f 72 74 20 |.PickMen|u(short |
|00003b20| 6d 65 6e 75 2c 20 73 68 | 6f 72 74 20 69 74 65 6d |menu, sh|ort item|
|00003b30| 2c 20 50 69 63 6b 48 61 | 6e 64 6c 65 20 70 69 63 |, PickHa|ndle pic|
|00003b40| 6b 29 3b 0d 70 61 73 63 | 61 6c 20 73 68 6f 72 74 |k);.pasc|al short|
|00003b50| 09 09 50 69 63 6b 53 74 | 64 48 65 69 67 68 74 28 |..PickSt|dHeight(|
|00003b60| 76 6f 69 64 29 3b 0d 70 | 61 73 63 61 6c 20 73 68 |void);.p|ascal sh|
|00003b70| 6f 72 74 09 09 50 69 63 | 6b 53 74 64 57 69 64 74 |ort..Pic|kStdWidt|
|00003b80| 68 28 76 6f 69 64 29 3b | 0d 0d 2f 2a 20 52 6f 75 |h(void);|../* Rou|
|00003b90| 74 69 6e 65 73 20 75 73 | 65 64 20 62 79 20 65 64 |tines us|ed by ed|
|00003ba0| 69 74 6f 72 73 2e 20 2a | 2f 0d 70 61 73 63 61 6c |itors. *|/.pascal|
|00003bb0| 20 42 6f 6f 6c 65 61 6e | 09 09 43 6c 6f 73 65 4e | Boolean|..CloseN|
|00003bc0| 6f 53 61 76 65 28 76 6f | 69 64 29 3b 0d 70 61 73 |oSave(vo|id);.pas|
|00003bd0| 63 61 6c 20 42 6f 6f 6c | 65 61 6e 09 09 4e 65 65 |cal Bool|ean..Nee|
|00003be0| 64 54 6f 52 65 76 65 72 | 74 20 28 57 69 6e 64 6f |dToRever|t (Windo|
|00003bf0| 77 50 74 72 20 6d 79 57 | 69 6e 64 6f 77 2c 20 48 |wPtr myW|indow, H|
|00003c00| 61 6e 64 6c 65 20 74 68 | 65 52 65 73 29 3b 0d 70 |andle th|eRes);.p|
|00003c10| 61 73 63 61 6c 20 76 6f | 69 64 09 09 09 4e 6f 44 |ascal vo|id...NoD|
|00003c20| 6f 75 62 6c 65 43 6c 69 | 63 6b 48 65 72 65 28 76 |oubleCli|ckHere(v|
|00003c30| 6f 69 64 29 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 |oid);.pa|scal voi|
|00003c40| 64 09 09 09 53 65 74 52 | 65 73 43 68 61 6e 67 65 |d...SetR|esChange|
|00003c50| 64 28 48 61 6e 64 6c 65 | 20 68 29 3b 0d 70 61 73 |d(Handle| h);.pas|
|00003c60| 63 61 6c 20 42 6f 6f 6c | 65 61 6e 09 09 57 61 73 |cal Bool|ean..Was|
|00003c70| 49 74 4c 6f 61 64 65 64 | 28 76 6f 69 64 29 3b 0d |ItLoaded|(void);.|
|00003c80| 0d 0d 2f 2a 20 54 68 65 | 73 65 20 72 6f 75 74 69 |../* The|se routi|
|00003c90| 6e 65 73 20 61 72 65 20 | 75 73 65 64 20 74 6f 20 |nes are |used to |
|00003ca0| 73 74 61 72 74 20 70 69 | 63 6b 65 72 73 20 61 6e |start pi|ckers an|
|00003cb0| 64 20 65 64 69 74 6f 72 | 73 2e 2a 2f 0d 0d 70 61 |d editor|s.*/..pa|
|00003cc0| 73 63 61 6c 20 76 6f 69 | 64 09 09 09 47 69 76 65 |scal voi|d...Give|
|00003cd0| 45 42 69 72 74 68 28 48 | 61 6e 64 6c 65 20 72 65 |EBirth(H|andle re|
|00003ce0| 73 48 61 6e 64 6c 65 2c | 20 50 69 63 6b 48 61 6e |sHandle,| PickHan|
|00003cf0| 64 6c 65 20 70 69 63 6b | 29 3b 0d 70 61 73 63 61 |dle pick|);.pasca|
|00003d00| 6c 20 76 6f 69 64 09 09 | 09 47 69 76 65 53 75 62 |l void..|.GiveSub|
|00003d10| 45 42 69 72 74 68 28 48 | 61 6e 64 6c 65 20 72 65 |EBirth(H|andle re|
|00003d20| 73 48 61 6e 64 6c 65 2c | 20 50 69 63 6b 48 61 6e |sHandle,| PickHan|
|00003d30| 64 6c 65 20 70 69 63 6b | 29 3b 0d 70 61 73 63 61 |dle pick|);.pasca|
|00003d40| 6c 20 76 6f 69 64 09 09 | 09 47 69 76 65 54 68 69 |l void..|.GiveThi|
|00003d50| 73 45 42 69 72 74 68 28 | 48 61 6e 64 6c 65 20 72 |sEBirth(|Handle r|
|00003d60| 65 73 48 61 6e 64 6c 65 | 2c 20 50 69 63 6b 48 61 |esHandle|, PickHa|
|00003d70| 6e 64 6c 65 20 70 69 63 | 6b 2c 20 52 65 73 54 79 |ndle pic|k, ResTy|
|00003d80| 70 65 20 6f 70 65 6e 54 | 68 69 73 54 79 70 65 29 |pe openT|hisType)|
|00003d90| 3b 0d 0d 2f 2a 20 54 68 | 65 73 65 20 72 6f 75 74 |;../* Th|ese rout|
|00003da0| 69 6e 65 73 20 61 72 65 | 20 75 73 65 64 20 74 6f |ines are| used to|
|00003db0| 20 66 65 65 64 20 65 76 | 65 6e 74 73 20 61 6e 64 | feed ev|ents and|
|00003dc0| 20 6d 65 6e 75 20 63 61 | 6c 6c 73 20 74 6f 20 74 | menu ca|lls to t|
|00003dd0| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 70 |he appro|priate p|
|00003de0| 69 63 6b 65 72 20 6f 72 | 20 65 64 69 74 6f 72 2e |icker or| editor.|
|00003df0| 20 2a 2f 0d 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 | */..pas|cal void|
|00003e00| 20 09 09 43 61 6c 6c 44 | 6f 45 76 65 6e 74 20 28 | ..CallD|oEvent (|
|00003e10| 45 76 65 6e 74 52 65 63 | 6f 72 64 20 2a 65 76 74 |EventRec|ord *evt|
|00003e20| 2c 20 57 69 6e 64 6f 77 | 50 74 72 20 74 68 65 57 |, Window|Ptr theW|
|00003e30| 69 6e 64 6f 77 29 3b 0d | 70 61 73 63 61 6c 20 76 |indow);.|pascal v|
|00003e40| 6f 69 64 09 09 09 43 61 | 6c 6c 49 6e 66 6f 55 70 |oid...Ca|llInfoUp|
|00003e50| 64 61 74 65 28 73 68 6f | 72 74 20 6f 6c 64 49 44 |date(sho|rt oldID|
|00003e60| 2c 20 73 68 6f 72 74 20 | 6e 65 77 49 44 2c 20 6c |, short |newID, l|
|00003e70| 6f 6e 67 20 6f 62 6a 65 | 63 74 2c 20 73 68 6f 72 |ong obje|ct, shor|
|00003e80| 74 20 69 64 29 3b 0d 70 | 61 73 63 61 6c 20 76 6f |t id);.p|ascal vo|
|00003e90| 69 64 20 09 09 50 61 73 | 73 45 76 65 6e 74 20 28 |id ..Pas|sEvent (|
|00003ea0| 45 76 65 6e 74 52 65 63 | 6f 72 64 20 2a 65 76 74 |EventRec|ord *evt|
|00003eb0| 2c 20 50 61 72 65 6e 74 | 48 61 6e 64 6c 65 20 70 |, Parent|Handle p|
|00003ec0| 61 72 65 6e 74 29 3b 0d | 70 61 73 63 61 6c 20 76 |arent);.|pascal v|
|00003ed0| 6f 69 64 20 09 09 50 61 | 73 73 4d 65 6e 75 28 73 |oid ..Pa|ssMenu(s|
|00003ee0| 68 6f 72 74 20 6d 65 6e | 75 2c 20 73 68 6f 72 74 |hort men|u, short|
|00003ef0| 20 69 74 65 6d 2c 20 50 | 61 72 65 6e 74 48 61 6e | item, P|arentHan|
|00003f00| 64 6c 65 20 70 61 72 65 | 6e 74 29 3b 0d 0d 2f 2a |dle pare|nt);../*|
|00003f10| 20 4d 69 73 63 65 6c 6c | 61 6e 65 6f 75 73 20 75 | Miscell|aneous u|
|00003f20| 74 69 6c 69 74 69 65 73 | 20 2a 2f 0d 0d 70 61 73 |tilities| */..pas|
|00003f30| 63 61 6c 20 76 6f 69 64 | 09 09 09 41 62 6f 72 74 |cal void|...Abort|
|00003f40| 28 76 6f 69 64 29 3b 0d | 70 61 73 63 61 6c 20 76 |(void);.|pascal v|
|00003f50| 6f 69 64 09 09 09 41 62 | 6c 65 4d 65 6e 75 28 73 |oid...Ab|leMenu(s|
|00003f60| 68 6f 72 74 20 6d 65 6e | 75 2c 20 6c 6f 6e 67 20 |hort men|u, long |
|00003f70| 65 6e 61 62 6c 65 29 3b | 0d 70 61 73 63 61 6c 20 |enable);|.pascal |
|00003f80| 76 6f 69 64 09 09 09 42 | 75 62 62 6c 65 55 70 28 |void...B|ubbleUp(|
|00003f90| 48 61 6e 64 6c 65 29 3b | 0d 70 61 73 63 61 6c 20 |Handle);|.pascal |
|00003fa0| 76 6f 69 64 09 09 09 43 | 65 6e 74 65 72 44 69 61 |void...C|enterDia|
|00003fb0| 6c 6f 67 20 28 52 65 73 | 54 79 70 65 20 74 68 65 |log (Res|Type the|
|00003fc0| 54 79 70 65 2c 20 73 68 | 6f 72 74 20 64 69 61 6c |Type, sh|ort dial|
|00003fd0| 6f 67 29 3b 0d 70 61 73 | 63 61 6c 20 42 6f 6f 6c |og);.pas|cal Bool|
|00003fe0| 65 61 6e 09 09 43 68 65 | 63 6b 45 72 72 6f 72 28 |ean..Che|ckError(|
|00003ff0| 73 68 6f 72 74 20 65 72 | 72 2c 20 73 68 6f 72 74 |short er|r, short|
|00004000| 20 6d 73 67 49 44 29 3b | 0d 70 61 73 63 61 6c 20 | msgID);|.pascal |
|00004010| 42 6f 6f 6c 65 61 6e 09 | 09 43 68 6f 6f 73 65 49 |Boolean.|.ChooseI|
|00004020| 63 6f 6e 28 50 61 72 65 | 6e 74 48 61 6e 64 6c 65 |con(Pare|ntHandle|
|00004030| 20 70 61 72 65 6e 74 2c | 20 73 68 6f 72 74 20 2a | parent,| short *|
|00004040| 49 63 6f 6e 52 65 73 49 | 44 2c 20 49 63 6f 6e 54 |IconResI|D, IconT|
|00004050| 79 70 65 20 2a 49 63 6f | 6e 4b 69 6e 64 2c 0d 09 |ype *Ico|nKind,..|
|00004060| 09 09 09 09 09 09 09 73 | 68 6f 72 74 20 64 69 61 |.......s|hort dia|
|00004070| 6c 6f 67 49 44 29 3b 0d | 70 61 73 63 61 6c 20 42 |logID);.|pascal B|
|00004080| 6f 6f 6c 65 61 6e 09 09 | 43 6f 6c 6f 72 41 76 61 |oolean..|ColorAva|
|00004090| 69 6c 61 62 6c 65 28 42 | 6f 6f 6c 65 61 6e 20 6e |ilable(B|oolean n|
|000040a0| 65 65 64 43 6f 6c 6f 72 | 51 44 29 3b 0d 70 61 73 |eedColor|QD);.pas|
|000040b0| 63 61 6c 20 76 6f 69 64 | 09 09 09 43 6f 6e 63 61 |cal void|...Conca|
|000040c0| 74 53 74 72 28 53 74 72 | 69 6e 67 50 74 72 20 73 |tStr(Str|ingPtr s|
|000040d0| 74 72 31 2c 20 53 74 72 | 69 6e 67 50 74 72 20 73 |tr1, Str|ingPtr s|
|000040e0| 74 72 32 29 3b 0d 70 61 | 73 63 61 6c 20 73 68 6f |tr2);.pa|scal sho|
|000040f0| 72 74 09 09 44 69 73 70 | 6c 61 79 41 6c 65 72 74 |rt..Disp|layAlert|
|00004100| 28 41 6c 65 72 74 54 79 | 70 65 20 77 68 69 63 68 |(AlertTy|pe which|
|00004110| 2c 20 73 68 6f 72 74 20 | 69 64 29 3b 0d 70 61 73 |, short |id);.pas|
|00004120| 63 61 6c 20 42 6f 6f 6c | 65 61 6e 09 09 44 69 73 |cal Bool|ean..Dis|
|00004130| 70 6c 61 79 53 54 52 41 | 6c 65 72 74 28 41 6c 65 |playSTRA|lert(Ale|
|00004140| 72 74 54 79 70 65 20 77 | 68 69 63 68 2c 20 63 6f |rtType w|hich, co|
|00004150| 6e 73 74 20 53 74 72 32 | 35 35 20 53 54 52 4e 61 |nst Str2|55 STRNa|
|00004160| 6d 65 2c 20 73 68 6f 72 | 74 20 53 54 52 49 6e 64 |me, shor|t STRInd|
|00004170| 65 78 29 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |ex);.pas|cal void|
|00004180| 09 09 09 44 72 61 77 4d | 42 61 72 4c 61 74 65 72 |...DrawM|BarLater|
|00004190| 28 42 6f 6f 6c 65 61 6e | 20 66 6f 72 63 65 49 74 |(Boolean| forceIt|
|000041a0| 4e 6f 77 29 3b 0d 70 61 | 73 63 61 6c 20 57 69 6e |Now);.pa|scal Win|
|000041b0| 64 6f 77 50 74 72 09 46 | 69 6e 64 4f 77 6e 65 72 |dowPtr.F|indOwner|
|000041c0| 57 69 6e 64 6f 77 20 28 | 48 61 6e 64 6c 65 20 74 |Window (|Handle t|
|000041d0| 68 65 52 65 73 29 3b 0d | 70 61 73 63 61 6c 20 76 |heRes);.|pascal v|
|000041e0| 6f 69 64 09 09 09 46 69 | 78 48 61 6e 64 28 6c 6f |oid...Fi|xHand(lo|
|000041f0| 6e 67 20 73 2c 20 48 61 | 6e 64 6c 65 20 68 29 3b |ng s, Ha|ndle h);|
|00004200| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 09 09 09 46 |.pascal |void...F|
|00004210| 6c 61 73 68 44 69 61 6c | 6f 67 49 74 65 6d 20 28 |lashDial|ogItem (|
|00004220| 44 69 61 6c 6f 67 50 74 | 72 20 64 70 2c 20 73 68 |DialogPt|r dp, sh|
|00004230| 6f 72 74 20 69 74 65 6d | 29 3b 0d 70 61 73 63 61 |ort item|);.pasca|
|00004240| 6c 20 76 6f 69 64 09 09 | 09 46 72 61 6d 65 44 69 |l void..|.FrameDi|
|00004250| 61 6c 6f 67 49 74 65 6d | 20 28 44 69 61 6c 6f 67 |alogItem| (Dialog|
|00004260| 50 74 72 20 64 70 2c 20 | 73 68 6f 72 74 20 69 74 |Ptr dp, |short it|
|00004270| 65 6d 29 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |em);.pas|cal void|
|00004280| 09 09 09 47 65 74 4e 61 | 6d 65 64 53 74 72 28 73 |...GetNa|medStr(s|
|00004290| 68 6f 72 74 20 69 6e 64 | 65 78 2c 20 63 6f 6e 73 |hort ind|ex, cons|
|000042a0| 74 20 53 74 72 32 35 35 | 20 6e 61 6d 65 2c 20 53 |t Str255| name, S|
|000042b0| 74 72 69 6e 67 50 74 72 | 20 73 74 72 29 3b 0d 70 |tringPtr| str);.p|
|000042c0| 61 73 63 61 6c 20 70 51 | 75 69 63 6b 44 72 61 77 |ascal pQ|uickDraw|
|000042d0| 56 61 72 73 20 47 65 74 | 51 75 69 63 6b 44 72 61 |Vars Get|QuickDra|
|000042e0| 77 56 61 72 73 28 76 6f | 69 64 29 3b 0d 70 61 73 |wVars(vo|id);.pas|
|000042f0| 63 61 6c 20 52 65 63 74 | 09 09 09 47 65 74 53 63 |cal Rect|...GetSc|
|00004300| 72 65 65 6e 52 65 63 74 | 28 42 6f 6f 6c 65 61 6e |reenRect|(Boolean|
|00004310| 20 72 6f 6f 6d 46 6f 72 | 49 63 6f 6e 73 2c 20 57 | roomFor|Icons, W|
|00004320| 69 6e 64 6f 77 50 74 72 | 20 77 69 6e 64 29 3b 0d |indowPtr| wind);.|
|00004330| 70 61 73 63 61 6c 20 76 | 6f 69 64 09 09 09 47 65 |pascal v|oid...Ge|
|00004340| 74 53 74 72 28 73 68 6f | 72 74 20 69 6e 64 65 78 |tStr(sho|rt index|
|00004350| 2c 20 73 68 6f 72 74 20 | 72 65 73 49 44 2c 20 53 |, short |resID, S|
|00004360| 74 72 69 6e 67 50 74 72 | 20 73 74 72 29 3b 0d 70 |tringPtr| str);.p|
|00004370| 61 73 63 61 6c 20 42 6f | 6f 6c 65 61 6e 09 09 48 |ascal Bo|olean..H|
|00004380| 61 6e 64 6c 65 43 68 65 | 63 6b 28 48 61 6e 64 6c |andleChe|ck(Handl|
|00004390| 65 20 68 2c 20 73 68 6f | 72 74 20 6d 73 67 49 44 |e h, sho|rt msgID|
|000043a0| 29 3b 0d 70 61 73 63 61 | 6c 20 76 6f 69 64 09 09 |);.pasca|l void..|
|000043b0| 09 4d 65 74 61 4b 65 79 | 73 28 42 6f 6f 6c 65 61 |.MetaKey|s(Boolea|
|000043c0| 6e 20 2a 63 6d 64 2c 20 | 42 6f 6f 6c 65 61 6e 20 |n *cmd, |Boolean |
|000043d0| 2a 73 68 69 66 74 2c 20 | 42 6f 6f 6c 65 61 6e 20 |*shift, |Boolean |
|000043e0| 2a 6f 70 74 29 3b 0d 70 | 61 73 63 61 6c 20 48 61 |*opt);.p|ascal Ha|
|000043f0| 6e 64 6c 65 09 09 50 72 | 69 6e 74 53 65 74 75 70 |ndle..Pr|intSetup|
|00004400| 28 76 6f 69 64 29 3b 09 | 09 2f 2a 20 52 65 74 75 |(void);.|./* Retu|
|00004410| 72 6e 20 74 79 70 65 20 | 69 73 20 61 63 74 75 61 |rn type |is actua|
|00004420| 6c 6c 79 20 54 48 50 72 | 69 6e 74 20 2a 2f 0d 70 |lly THPr|int */.p|
|00004430| 61 73 63 61 6c 20 76 6f | 69 64 09 09 09 50 72 69 |ascal vo|id...Pri|
|00004440| 6e 74 57 69 6e 64 6f 77 | 20 28 50 69 63 48 61 6e |ntWindow| (PicHan|
|00004450| 64 6c 65 20 74 6f 50 72 | 69 6e 74 29 3b 0d 70 61 |dle toPr|int);.pa|
|00004460| 73 63 61 6c 20 73 68 6f | 72 74 09 09 52 65 73 45 |scal sho|rt..ResE|
|00004470| 64 49 44 28 76 6f 69 64 | 29 3b 0d 70 61 73 63 61 |dID(void|);.pasca|
|00004480| 6c 20 76 6f 69 64 09 09 | 09 53 65 74 54 68 65 43 |l void..|.SetTheC|
|00004490| 75 72 73 6f 72 20 28 73 | 68 6f 72 74 20 77 68 69 |ursor (s|hort whi|
|000044a0| 63 68 43 75 72 73 6f 72 | 29 3b 0d 70 61 73 63 61 |chCursor|);.pasca|
|000044b0| 6c 20 76 6f 69 64 09 09 | 09 53 68 6f 77 49 6e 66 |l void..|.ShowInf|
|000044c0| 6f 28 48 61 6e 64 6c 65 | 20 68 2c 20 50 61 72 65 |o(Handle| h, Pare|
|000044d0| 6e 74 48 61 6e 64 6c 65 | 20 70 61 72 65 6e 74 29 |ntHandle| parent)|
|000044e0| 3b 0d 70 61 73 63 61 6c | 20 42 6f 6f 6c 65 61 6e |;.pascal| Boolean|
|000044f0| 09 09 53 74 61 6e 64 61 | 72 64 46 69 6c 74 65 72 |..Standa|rdFilter|
|00004500| 28 44 69 61 6c 6f 67 50 | 74 72 20 74 68 65 44 69 |(DialogP|tr theDi|
|00004510| 61 6c 6f 67 2c 20 45 76 | 65 6e 74 52 65 63 6f 72 |alog, Ev|entRecor|
|00004520| 64 20 2a 74 68 65 45 76 | 65 6e 74 2c 20 73 68 6f |d *theEv|ent, sho|
|00004530| 72 74 20 2a 69 74 65 6d | 48 69 74 29 3b 0d 70 61 |rt *item|Hit);.pa|
|00004540| 73 63 61 6c 20 76 6f 69 | 64 09 09 09 54 79 70 65 |scal voi|d...Type|
|00004550| 54 6f 53 74 72 69 6e 67 | 28 52 65 73 54 79 70 65 |ToString|(ResType|
|00004560| 20 74 2c 20 53 74 72 69 | 6e 67 50 74 72 20 73 29 | t, Stri|ngPtr s)|
|00004570| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 09 |;.pascal| void...|
|00004580| 55 73 65 41 70 70 52 65 | 73 28 76 6f 69 64 29 3b |UseAppRe|s(void);|
|00004590| 20 0d 70 61 73 63 61 6c | 20 42 6f 6f 6c 65 61 6e | .pascal| Boolean|
|000045a0| 09 09 57 61 73 41 62 6f | 72 74 65 64 28 76 6f 69 |..WasAbo|rted(voi|
|000045b0| 64 29 3b 0d 0d 2f 2a 20 | 50 6f 70 75 70 20 4d 65 |d);../* |Popup Me|
|000045c0| 6e 75 73 20 2a 2f 0d 0d | 70 61 73 63 61 6c 20 42 |nus */..|pascal B|
|000045d0| 6f 6f 6c 65 61 6e 09 09 | 43 6f 6c 6f 72 50 61 6c |oolean..|ColorPal|
|000045e0| 65 74 74 65 50 6f 70 75 | 70 53 65 6c 65 63 74 28 |ettePopu|pSelect(|
|000045f0| 57 69 6e 64 6f 77 50 74 | 72 20 77 68 69 63 68 57 |WindowPt|r whichW|
|00004600| 69 6e 64 6f 77 2c 20 52 | 65 63 74 20 2a 69 74 65 |indow, R|ect *ite|
|00004610| 6d 42 6f 78 2c 0d 09 09 | 09 09 09 09 20 20 09 52 |mBox,...|.... .R|
|00004620| 47 42 43 6f 6c 6f 72 20 | 2a 77 68 69 63 68 43 6f |GBColor |*whichCo|
|00004630| 6c 6f 72 2c 20 42 6f 6f | 6c 65 61 6e 20 43 51 44 |lor, Boo|lean CQD|
|00004640| 69 73 68 65 72 65 2c 20 | 42 6f 6f 6c 65 61 6e 20 |ishere, |Boolean |
|00004650| 75 73 65 43 6f 6c 6f 72 | 50 69 63 6b 65 72 20 29 |useColor|Picker )|
|00004660| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 09 |;.pascal| void...|
|00004670| 44 65 69 6e 73 74 61 6c | 6c 43 6f 6c 6f 72 50 61 |Deinstal|lColorPa|
|00004680| 6c 65 74 74 65 50 6f 70 | 75 70 28 57 69 6e 64 6f |lettePop|up(Windo|
|00004690| 77 50 74 72 20 77 68 69 | 63 68 57 69 6e 64 6f 77 |wPtr whi|chWindow|
|000046a0| 2c 20 42 6f 6f 6c 65 61 | 6e 20 43 51 44 69 73 68 |, Boolea|n CQDish|
|000046b0| 65 72 65 29 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 |ere);.pa|scal voi|
|000046c0| 64 09 09 09 44 6f 50 6f | 70 75 70 28 44 69 61 6c |d...DoPo|pup(Dial|
|000046d0| 6f 67 50 74 72 20 77 68 | 69 63 68 44 69 61 6c 6f |ogPtr wh|ichDialo|
|000046e0| 67 2c 20 73 68 6f 72 74 | 20 70 72 6f 6d 70 74 44 |g, short| promptD|
|000046f0| 69 61 6c 6f 67 49 74 65 | 6d 2c 0d 09 09 09 09 09 |ialogIte|m,......|
|00004700| 09 09 20 73 68 6f 72 74 | 20 70 6f 70 75 70 44 69 |.. short| popupDi|
|00004710| 61 6c 6f 67 49 74 65 6d | 2c 20 73 68 6f 72 74 20 |alogItem|, short |
|00004720| 2a 6d 65 6e 75 49 74 65 | 6d 2c 20 4d 65 6e 75 48 |*menuIte|m, MenuH|
|00004730| 61 6e 64 6c 65 20 77 68 | 69 63 68 4d 65 6e 75 29 |andle wh|ichMenu)|
|00004740| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 09 |;.pascal| void...|
|00004750| 44 72 61 77 43 6f 6c 6f | 72 50 6f 70 75 70 28 57 |DrawColo|rPopup(W|
|00004760| 69 6e 64 6f 77 50 74 72 | 20 77 68 69 63 68 57 69 |indowPtr| whichWi|
|00004770| 6e 64 6f 77 2c 20 52 65 | 63 74 20 2a 69 74 65 6d |ndow, Re|ct *item|
|00004780| 42 6f 78 2c 0d 09 09 09 | 09 09 09 20 20 09 09 20 |Box,....|... .. |
|00004790| 20 20 52 47 42 43 6f 6c | 6f 72 20 2a 77 68 69 63 | RGBCol|or *whic|
|000047a0| 68 43 6f 6c 6f 72 2c 20 | 42 6f 6f 6c 65 61 6e 20 |hColor, |Boolean |
|000047b0| 43 51 44 69 73 68 65 72 | 65 29 3b 0d 70 61 73 63 |CQDisher|e);.pasc|
|000047c0| 61 6c 20 76 6f 69 64 09 | 09 09 44 72 61 77 50 6f |al void.|..DrawPo|
|000047d0| 70 75 70 28 44 69 61 6c | 6f 67 50 74 72 20 77 68 |pup(Dial|ogPtr wh|
|000047e0| 69 63 68 44 69 61 6c 6f | 67 2c 20 73 68 6f 72 74 |ichDialo|g, short|
|000047f0| 20 77 68 69 63 68 44 69 | 61 6c 6f 67 49 74 65 6d | whichDi|alogItem|
|00004800| 2c 0d 09 09 09 09 09 09 | 09 20 20 20 73 68 6f 72 |,.......|. shor|
|00004810| 74 20 77 68 69 63 68 4d | 65 6e 75 49 74 65 6d 2c |t whichM|enuItem,|
|00004820| 20 4d 65 6e 75 48 61 6e | 64 6c 65 20 77 68 69 63 | MenuHan|dle whic|
|00004830| 68 4d 65 6e 75 29 3b 0d | 70 61 73 63 61 6c 20 76 |hMenu);.|pascal v|
|00004840| 6f 69 64 09 09 09 49 6e | 73 74 61 6c 6c 43 6f 6c |oid...In|stallCol|
|00004850| 6f 72 50 61 6c 65 74 74 | 65 50 6f 70 75 70 28 57 |orPalett|ePopup(W|
|00004860| 69 6e 64 6f 77 50 74 72 | 20 77 68 69 63 68 57 69 |indowPtr| whichWi|
|00004870| 6e 64 6f 77 2c 20 42 6f | 6f 6c 65 61 6e 20 43 51 |ndow, Bo|olean CQ|
|00004880| 44 69 73 68 65 72 65 2c | 0d 09 09 09 09 09 09 09 |Dishere,|........|
|00004890| 09 09 09 09 20 42 6f 6f | 6c 65 61 6e 20 69 73 41 |.... Boo|lean isA|
|000048a0| 63 74 69 76 65 29 3b 0d | 09 0d 2f 2a 20 52 6f 75 |ctive);.|../* Rou|
|000048b0| 74 69 6e 65 73 20 74 68 | 61 74 20 61 72 65 20 75 |tines th|at are u|
|000048c0| 73 65 64 20 69 6e 74 65 | 72 6e 61 6c 6c 79 20 77 |sed inte|rnally w|
|000048d0| 69 74 68 69 6e 20 52 65 | 73 45 64 69 74 20 61 6e |ithin Re|sEdit an|
|000048e0| 64 20 6d 61 79 20 62 65 | 20 75 73 65 66 75 6c 20 |d may be| useful |
|000048f0| 69 6e 20 6f 74 68 65 72 | 0d 09 63 69 72 63 75 6d |in other|..circum|
|00004900| 73 74 61 6e 63 65 73 2e | 20 2a 2f 0d 09 0d 70 61 |stances.| */...pa|
|00004910| 73 63 61 6c 20 73 68 6f | 72 74 09 09 42 75 69 6c |scal sho|rt..Buil|
|00004920| 64 54 79 70 65 28 52 65 | 73 54 79 70 65 20 74 2c |dType(Re|sType t,|
|00004930| 20 4c 69 73 74 48 61 6e | 64 6c 65 20 6c 68 29 3b | ListHan|dle lh);|
|00004940| 0d 70 61 73 63 61 6c 20 | 42 6f 6f 6c 65 61 6e 09 |.pascal |Boolean.|
|00004950| 09 43 6f 6d 70 72 65 73 | 73 65 64 52 65 73 6f 75 |.Compres|sedResou|
|00004960| 72 63 65 28 48 61 6e 64 | 6c 65 20 74 68 65 52 65 |rce(Hand|le theRe|
|00004970| 73 6f 75 72 63 65 29 3b | 0d 70 61 73 63 61 6c 20 |source);|.pascal |
|00004980| 76 6f 69 64 09 09 09 44 | 6f 4b 65 79 53 63 61 6e |void...D|oKeyScan|
|00004990| 28 45 76 65 6e 74 52 65 | 63 6f 72 64 20 2a 65 76 |(EventRe|cord *ev|
|000049a0| 74 2c 20 73 68 6f 72 74 | 20 6f 66 66 73 65 74 2c |t, short| offset,|
|000049b0| 20 4c 69 73 74 48 61 6e | 64 6c 65 20 6c 68 29 3b | ListHan|dle lh);|
|000049c0| 0d 70 61 73 63 61 6c 20 | 48 61 6e 64 6c 65 09 09 |.pascal |Handle..|
|000049d0| 44 75 70 50 69 63 6b 28 | 48 61 6e 64 6c 65 20 68 |DupPick(|Handle h|
|000049e0| 2c 20 43 65 6c 6c 20 63 | 2c 20 50 69 63 6b 48 61 |, Cell c|, PickHa|
|000049f0| 6e 64 6c 65 20 70 69 63 | 6b 29 3b 0d 70 61 73 63 |ndle pic|k);.pasc|
|00004a00| 61 6c 20 76 6f 69 64 09 | 09 09 47 65 74 45 72 72 |al void.|..GetErr|
|00004a10| 6f 72 54 65 78 74 20 28 | 73 68 6f 72 74 20 65 72 |orText (|short er|
|00004a20| 72 6f 72 2c 20 53 74 72 | 69 6e 67 50 74 72 20 65 |ror, Str|ingPtr e|
|00004a30| 72 72 6f 72 54 65 78 74 | 29 3b 0d 70 61 73 63 61 |rrorText|);.pasca|
|00004a40| 6c 20 73 68 6f 72 74 09 | 09 47 65 74 52 65 73 45 |l short.|.GetResE|
|00004a50| 64 69 74 53 63 72 61 70 | 46 69 6c 65 28 76 6f 69 |ditScrap|File(voi|
|00004a60| 64 29 3b 0d 70 61 73 63 | 61 6c 20 42 6f 6f 6c 65 |d);.pasc|al Boole|
|00004a70| 61 6e 09 09 47 65 74 54 | 79 70 65 28 42 6f 6f 6c |an..GetT|ype(Bool|
|00004a80| 65 61 6e 20 74 65 6d 70 | 6c 61 74 65 73 4f 6e 6c |ean temp|latesOnl|
|00004a90| 79 2c 20 53 74 72 69 6e | 67 50 74 72 20 73 29 3b |y, Strin|gPtr s);|
|00004aa0| 0d 70 61 73 63 61 6c 20 | 52 65 73 54 79 70 65 09 |.pascal |ResType.|
|00004ab0| 09 4d 61 70 52 65 73 6f | 75 72 63 65 54 79 70 65 |.MapReso|urceType|
|00004ac0| 20 28 42 6f 6f 6c 65 61 | 6e 20 65 64 69 74 6f 72 | (Boolea|n editor|
|00004ad0| 2c 20 48 61 6e 64 6c 65 | 20 74 68 65 52 65 73 2c |, Handle| theRes,|
|00004ae0| 20 52 65 73 54 79 70 65 | 20 6f 72 69 67 52 65 73 | ResType| origRes|
|00004af0| 54 79 70 65 29 3b 0d 70 | 61 73 63 61 6c 20 42 6f |Type);.p|ascal Bo|
|00004b00| 6f 6c 65 61 6e 09 09 50 | 6c 61 79 53 79 6e 63 53 |olean..P|laySyncS|
|00004b10| 6f 75 6e 64 28 73 68 6f | 72 74 20 77 68 69 63 68 |ound(sho|rt which|
|00004b20| 2c 20 48 61 6e 64 6c 65 | 20 73 6e 64 48 61 6e 64 |, Handle| sndHand|
|00004b30| 6c 65 29 3b 0d 70 61 73 | 63 61 6c 20 73 68 6f 72 |le);.pas|cal shor|
|00004b40| 74 09 09 52 65 73 45 64 | 69 74 52 65 73 28 76 6f |t..ResEd|itRes(vo|
|00004b50| 69 64 29 20 3d 0d 09 09 | 09 09 09 7b 30 78 33 65 |id) =...|...{0x3e|
|00004b60| 42 38 2c 20 30 78 30 39 | 30 30 7d 3b 09 2f 2a 20 |B8, 0x09|00};./* |
|00004b70| 6d 6f 76 65 2e 77 09 43 | 75 72 41 70 52 65 66 4e |move.w.C|urApRefN|
|00004b80| 75 6d 2c 28 73 70 29 20 | 2a 2f 0d 70 61 73 63 61 |um,(sp) |*/.pasca|
|00004b90| 6c 20 76 6f 69 64 09 09 | 09 52 65 73 6f 75 72 63 |l void..|.Resourc|
|00004ba0| 65 49 44 48 61 73 43 68 | 61 6e 67 65 64 20 28 50 |eIDHasCh|anged (P|
|00004bb0| 61 72 65 6e 74 48 61 6e | 64 6c 65 20 70 61 72 65 |arentHan|dle pare|
|00004bc0| 6e 74 2c 20 52 65 73 54 | 79 70 65 20 74 68 65 54 |nt, ResT|ype theT|
|00004bd0| 79 70 65 2c 20 73 68 6f | 72 74 20 74 68 65 4f 6c |ype, sho|rt theOl|
|00004be0| 64 49 64 2c 20 73 68 6f | 72 74 20 74 68 65 4e 65 |dId, sho|rt theNe|
|00004bf0| 77 49 64 29 3b 0d 70 61 | 73 63 61 6c 20 42 6f 6f |wId);.pa|scal Boo|
|00004c00| 6c 65 61 6e 09 09 52 65 | 73 74 6f 72 65 52 65 6d |lean..Re|storeRem|
|00004c10| 6f 76 65 64 52 65 73 6f | 75 72 63 65 73 20 28 50 |ovedReso|urces (P|
|00004c20| 69 63 6b 48 61 6e 64 6c | 65 20 70 69 63 6b 29 3b |ickHandl|e pick);|
|00004c30| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 09 09 09 53 |.pascal |void...S|
|00004c40| 63 72 61 70 43 6f 70 79 | 28 52 65 73 54 79 70 65 |crapCopy|(ResType|
|00004c50| 20 74 68 65 54 79 70 65 | 2c 20 48 61 6e 64 6c 65 | theType|, Handle|
|00004c60| 20 2a 68 29 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 | *h);.pa|scal voi|
|00004c70| 64 09 09 09 53 63 72 61 | 70 45 6d 70 74 79 28 76 |d...Scra|pEmpty(v|
|00004c80| 6f 69 64 29 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 |oid);.pa|scal voi|
|00004c90| 64 09 09 09 53 65 6e 64 | 52 65 62 75 69 6c 64 54 |d...Send|RebuildT|
|00004ca0| 6f 50 69 63 6b 65 72 20 | 28 52 65 73 54 79 70 65 |oPicker |(ResType|
|00004cb0| 20 74 68 65 54 79 70 65 | 2c 20 50 61 72 65 6e 74 | theType|, Parent|
|00004cc0| 48 61 6e 64 6c 65 20 70 | 61 72 65 6e 74 29 3b 0d |Handle p|arent);.|
|00004cd0| 70 61 73 63 61 6c 20 76 | 6f 69 64 09 09 09 53 65 |pascal v|oid...Se|
|00004ce0| 6e 64 52 65 62 75 69 6c | 64 54 6f 50 69 63 6b 65 |ndRebuil|dToPicke|
|00004cf0| 72 41 6e 64 46 69 6c 65 | 20 28 52 65 73 54 79 70 |rAndFile| (ResTyp|
|00004d00| 65 20 74 68 65 54 79 70 | 65 2c 20 50 61 72 65 6e |e theTyp|e, Paren|
|00004d10| 74 48 61 6e 64 6c 65 20 | 70 61 72 65 6e 74 29 20 |tHandle |parent) |
|00004d20| 3b 0d 70 61 73 63 61 6c | 20 73 68 6f 72 74 09 09 |;.pascal| short..|
|00004d30| 53 79 73 52 65 73 46 69 | 6c 65 28 76 6f 69 64 29 |SysResFi|le(void)|
|00004d40| 3b 0d 70 61 73 63 61 6c | 20 4c 69 73 74 48 61 6e |;.pascal| ListHan|
|00004d50| 64 6c 65 09 57 69 6e 64 | 4c 69 73 74 28 57 69 6e |dle.Wind|List(Win|
|00004d60| 64 6f 77 50 74 72 20 77 | 2c 20 73 68 6f 72 74 20 |dowPtr w|, short |
|00004d70| 6e 41 63 72 6f 73 73 2c | 20 50 6f 69 6e 74 20 63 |nAcross,| Point c|
|00004d80| 53 69 7a 65 2c 20 73 68 | 6f 72 74 20 64 72 61 77 |Size, sh|ort draw|
|00004d90| 50 72 6f 63 29 3b 0d 70 | 61 73 63 61 6c 20 76 6f |Proc);.p|ascal vo|
|00004da0| 69 64 09 09 09 57 69 6e | 64 4f 72 69 67 69 6e 28 |id...Win|dOrigin(|
|00004db0| 57 69 6e 64 6f 77 50 74 | 72 20 77 2c 20 50 61 72 |WindowPt|r w, Par|
|00004dc0| 65 6e 74 48 61 6e 64 6c | 65 20 70 61 72 65 6e 74 |entHandl|e parent|
|00004dd0| 29 3b 0d 70 61 73 63 61 | 6c 20 76 6f 69 64 09 09 |);.pasca|l void..|
|00004de0| 09 57 72 69 74 65 50 72 | 65 66 65 72 65 6e 63 65 |.WritePr|eference|
|00004df0| 73 20 28 52 65 73 54 79 | 70 65 20 70 72 65 66 54 |s (ResTy|pe prefT|
|00004e00| 79 70 65 2c 20 73 68 6f | 72 74 20 70 72 65 66 49 |ype, sho|rt prefI|
|00004e10| 64 2c 20 63 6f 6e 73 74 | 20 53 74 72 32 35 35 20 |d, const| Str255 |
|00004e20| 70 72 65 66 4e 61 6d 65 | 2c 20 48 61 6e 64 6c 65 |prefName|, Handle|
|00004e30| 20 70 72 65 66 48 61 6e | 64 6c 65 29 3b 0d 0d 0d | prefHan|dle);...|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 01 00 00 00 01 8c | 00 00 00 8c 00 00 00 52 |........|.......R|
|00004e90| 20 20 49 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 66 | Instru|ctions f|
|00004ea0| 6f 72 20 43 20 45 78 61 | 6d 70 6c 65 73 0d 0d 43 |or C Exa|mples..C|
|00004eb0| 07 52 65 73 45 64 2e 68 | 02 00 00 00 50 61 72 74 |.ResEd.h|....Part|
|00004ec0| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 c3 eb |SITx....|........|
|00004ed0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 a9 8f d2 60 00 00 | 00 00 00 00 01 de 45 78 |.....`..|......Ex|
|00004f00| 61 6d 70 6c 65 73 0d 0d | 0d 20 20 20 4e 6f 74 65 |amples..|. Note|
|00004f10| 3a 20 46 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 |: For mo|re infor|
|00004f20| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 62 75 69 |mation a|bout bui|
|00004f30| 6c 64 69 6e 67 20 74 68 | 65 20 73 61 6d 70 6c 65 |lding th|e sample|
|00004f40| 20 70 72 6f 67 72 61 6d | 73 2c 20 73 65 65 0d 20 | program|s, see. |
|00004f50| 20 20 43 68 61 70 74 65 | 72 20 31 20 6f 66 20 74 | Chapte|r 1 of t|
|00004f60| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 50 72 6f |he Macin|tosh Pro|
|00004f70| 67 72 61 6d 6d 65 72 27 | 73 20 57 6f 72 6b 73 68 |grammer'|s Worksh|
|00004f80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 3a 00 ea |...H..Mo|naco.:..|
|00004f90| 00 34 00 f5 00 3a 65 b5 | 00 00 00 3c 00 2b 7c e0 |.4...:e.|...<.+|.|
|00004fa0| 00 00 00 00 00 05 00 06 | 00 04 00 2a 00 03 01 42 |........|...*...B|
|00004fb0| 01 e3 00 2a 00 03 01 42 | 01 e3 a4 9f 55 c0 00 00 |...*...B|....U...|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00004fd0| 00 2a 00 03 01 42 01 e3 | 00 2a 00 03 01 42 01 e3 |.*...B..|.*...B..|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 1a 02 11 80 00 00 00 | 05 32 2e 31 2e 31 0d 52 |........|.2.1.1.R|
|00005000| 65 73 45 64 69 74 20 32 | 2e 31 2e 31 00 00 01 00 |esEdit 2|.1.1....|
|00005010| 00 00 01 8c 00 00 00 8c | 00 00 00 52 00 22 e8 78 |........|...R.".x|
|00005020| 04 6a 00 00 00 1c 00 52 | 00 01 4d 50 53 52 00 01 |.j.....R|..MPSR..|
|00005030| 00 12 76 65 72 73 00 00 | 00 2a 03 ed ff ff 00 00 |..vers..|.*......|
|00005040| 00 00 00 00 00 00 03 f0 | ff ff 00 00 00 4c 00 00 |........|.....L..|
|00005050| 00 00 00 02 ff ff 20 00 | 00 6e 00 22 e7 78 00 00 |...... .|.n.".x..|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+